pub enum ComplianceResponse {
Grant,
Policy(Policy),
Policies(HashMap<Resource, Policy>),
PolicyUpdated,
PolicyNotUpdated,
}
Expand description
Compliance service response types.
Responses from the compliance service containing authorization decisions, policy data, and update confirmations.
Variants§
Grant
Authorization granted for the requested data flow operation.
Indicates that all policy evaluations passed and the operation complies with organizational and regulatory requirements.
Policy(Policy)
Current compliance policy for the requested resource.
Contains the complete policy configuration including confidentiality, integrity, consent, and other compliance requirements.
Policies(HashMap<Resource, Policy>)
Current compliance policies for multiple requested resources.
Maps each requested resource to its current policy configuration for batch policy queries.
PolicyUpdated
Confirmation that a policy update was successfully applied.
Indicates that policy modifications, consent changes, or other compliance configuration updates completed successfully.
PolicyNotUpdated
Notification that no policy update was needed.
Returned when the requested policy change would result in no actual modification to the current configuration.
Trait Implementations§
Source§impl Clone for ComplianceResponse
impl Clone for ComplianceResponse
Source§fn clone(&self) -> ComplianceResponse
fn clone(&self) -> ComplianceResponse
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ComplianceResponse
impl Debug for ComplianceResponse
Source§impl PartialEq for ComplianceResponse
impl PartialEq for ComplianceResponse
impl Eq for ComplianceResponse
impl StructuralPartialEq for ComplianceResponse
Auto Trait Implementations§
impl Freeze for ComplianceResponse
impl RefUnwindSafe for ComplianceResponse
impl Send for ComplianceResponse
impl Sync for ComplianceResponse
impl Unpin for ComplianceResponse
impl UnwindSafe for ComplianceResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request
§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered
].