#[non_exhaustive]pub struct PolicyDelta {
pub binding_deltas: Vec<BindingDelta>,
pub audit_config_deltas: Vec<AuditConfigDelta>,
}Expand description
The difference delta between two policies.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.binding_deltas: Vec<BindingDelta>The delta for Bindings between two policies.
audit_config_deltas: Vec<AuditConfigDelta>The delta for AuditConfigs between two policies.
Implementations§
Source§impl PolicyDelta
impl PolicyDelta
Sourcepub fn set_binding_deltas<T, V>(self, v: T) -> Self
pub fn set_binding_deltas<T, V>(self, v: T) -> Self
Sets the value of binding_deltas.
Sourcepub fn set_audit_config_deltas<T, V>(self, v: T) -> Self
pub fn set_audit_config_deltas<T, V>(self, v: T) -> Self
Sets the value of audit_config_deltas.
Trait Implementations§
Source§impl Clone for PolicyDelta
impl Clone for PolicyDelta
Source§fn clone(&self) -> PolicyDelta
fn clone(&self) -> PolicyDelta
Returns a copy 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 PolicyDelta
impl Debug for PolicyDelta
Source§impl Default for PolicyDelta
impl Default for PolicyDelta
Source§fn default() -> PolicyDelta
fn default() -> PolicyDelta
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PolicyDeltawhere
PolicyDelta: Default,
impl<'de> Deserialize<'de> for PolicyDeltawhere
PolicyDelta: Default,
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 Message for PolicyDelta
impl Message for PolicyDelta
Source§impl PartialEq for PolicyDelta
impl PartialEq for PolicyDelta
Source§impl Serialize for PolicyDelta
impl Serialize for PolicyDelta
impl StructuralPartialEq for PolicyDelta
Auto Trait Implementations§
impl Freeze for PolicyDelta
impl RefUnwindSafe for PolicyDelta
impl Send for PolicyDelta
impl Sync for PolicyDelta
impl Unpin for PolicyDelta
impl UnwindSafe for PolicyDelta
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