pub struct PolicyViolation {
pub policy_violation_details: Option<Vec<PolicyViolationDetails>>,
}Expand description
Returned from an action if one or more policies were violated, and therefore the action was prevented. Contains information about what policies were violated and why.
This type is not used in any activity, and only used as part of another schema.
Fields§
§policy_violation_details: Option<Vec<PolicyViolationDetails>>Policy violation details.
Trait Implementations§
Source§impl Clone for PolicyViolation
impl Clone for PolicyViolation
Source§fn clone(&self) -> PolicyViolation
fn clone(&self) -> PolicyViolation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PolicyViolation
impl Debug for PolicyViolation
Source§impl Default for PolicyViolation
impl Default for PolicyViolation
Source§fn default() -> PolicyViolation
fn default() -> PolicyViolation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PolicyViolation
impl<'de> Deserialize<'de> for PolicyViolation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for PolicyViolation
impl Serialize for PolicyViolation
impl Part for PolicyViolation
Auto Trait Implementations§
impl Freeze for PolicyViolation
impl RefUnwindSafe for PolicyViolation
impl Send for PolicyViolation
impl Sync for PolicyViolation
impl Unpin for PolicyViolation
impl UnwindSafe for PolicyViolation
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
Mutably borrows from an owned value. Read more