pub struct ControlChange {
pub path: Option<String>,
pub change: ControlChangeKind,
pub before: Option<Value>,
pub after: Option<Value>,
}Expand description
One control that differs between two checkpoints.
Fields§
§path: Option<String>Selector path of the control.
change: ControlChangeKindWhat happened to it.
before: Option<Value>What it held at the earlier checkpoint.
after: Option<Value>What it holds at the later checkpoint.
Trait Implementations§
Source§impl Clone for ControlChange
impl Clone for ControlChange
Source§fn clone(&self) -> ControlChange
fn clone(&self) -> ControlChange
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 ControlChange
impl Debug for ControlChange
Source§impl<'de> Deserialize<'de> for ControlChange
impl<'de> Deserialize<'de> for ControlChange
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 ControlChange
impl PartialEq for ControlChange
Source§impl Serialize for ControlChange
impl Serialize for ControlChange
impl StructuralPartialEq for ControlChange
Auto Trait Implementations§
impl Freeze for ControlChange
impl RefUnwindSafe for ControlChange
impl Send for ControlChange
impl Sync for ControlChange
impl Unpin for ControlChange
impl UnsafeUnpin for ControlChange
impl UnwindSafe for ControlChange
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