pub struct PolicyOverrideReason {
pub reason_type: PolicyOverride,
pub comment: Option<String>,
}Expand description
A reason why the applied policy may differ from the published policy
(PolicyOverrideReasonType).
Fields§
§reason_type: PolicyOverrideThe type of policy override.
comment: Option<String>An optional human-readable comment about the override.
Trait Implementations§
Source§impl Clone for PolicyOverrideReason
impl Clone for PolicyOverrideReason
Source§fn clone(&self) -> PolicyOverrideReason
fn clone(&self) -> PolicyOverrideReason
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 PolicyOverrideReason
impl Debug for PolicyOverrideReason
Source§impl<'de> Deserialize<'de> for PolicyOverrideReason
impl<'de> Deserialize<'de> for PolicyOverrideReason
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 PartialEq for PolicyOverrideReason
impl PartialEq for PolicyOverrideReason
impl StructuralPartialEq for PolicyOverrideReason
Auto Trait Implementations§
impl Freeze for PolicyOverrideReason
impl RefUnwindSafe for PolicyOverrideReason
impl Send for PolicyOverrideReason
impl Sync for PolicyOverrideReason
impl Unpin for PolicyOverrideReason
impl UnsafeUnpin for PolicyOverrideReason
impl UnwindSafe for PolicyOverrideReason
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