pub struct OptionChange {
pub path: String,
pub old: Option<Value>,
pub new: Option<Value>,
pub sensitivity: Sensitivities,
pub kinds: Vec<String>,
}Fields§
§path: String§old: Option<Value>None: the option is added (old) or removed (new).
new: Option<Value>§sensitivity: Sensitivities§kinds: Vec<String>The sensitivity by name (“Security”, “External”, …), as shown.
Trait Implementations§
Source§impl Clone for OptionChange
impl Clone for OptionChange
Source§fn clone(&self) -> OptionChange
fn clone(&self) -> OptionChange
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 OptionChange
impl Debug for OptionChange
Source§impl<'de> Deserialize<'de> for OptionChange
impl<'de> Deserialize<'de> for OptionChange
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 OptionChange
impl PartialEq for OptionChange
Source§impl Serialize for OptionChange
impl Serialize for OptionChange
impl Eq for OptionChange
impl StructuralPartialEq for OptionChange
Auto Trait Implementations§
impl Freeze for OptionChange
impl RefUnwindSafe for OptionChange
impl Send for OptionChange
impl Sync for OptionChange
impl Unpin for OptionChange
impl UnsafeUnpin for OptionChange
impl UnwindSafe for OptionChange
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