pub struct ConfigPlannedChange {
pub field: String,
pub change: ChangeKind,
pub before: Option<String>,
pub after: Option<String>,
pub disposition: ModificationDisposition,
pub reason: Option<String>,
}Expand description
Planned config change.
Fields§
§field: StringConfig field being changed.
change: ChangeKindNatural change type for table rendering.
before: Option<String>Previous safe visible state.
after: Option<String>New safe visible state.
disposition: ModificationDispositionWhen or whether the change can take effect.
reason: Option<String>Human-readable reason for this classification, when useful.
Trait Implementations§
Source§impl Clone for ConfigPlannedChange
impl Clone for ConfigPlannedChange
Source§fn clone(&self) -> ConfigPlannedChange
fn clone(&self) -> ConfigPlannedChange
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ConfigPlannedChange
impl Debug for ConfigPlannedChange
Source§impl<'de> Deserialize<'de> for ConfigPlannedChange
impl<'de> Deserialize<'de> for ConfigPlannedChange
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
Auto Trait Implementations§
impl Freeze for ConfigPlannedChange
impl RefUnwindSafe for ConfigPlannedChange
impl Send for ConfigPlannedChange
impl Sync for ConfigPlannedChange
impl Unpin for ConfigPlannedChange
impl UnsafeUnpin for ConfigPlannedChange
impl UnwindSafe for ConfigPlannedChange
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