pub enum StateStatus {
Baseline,
Added,
Removed,
Unchanged,
Modified,
}Expand description
The relationship of a node to its prior state. Exhaustive and mutually exclusive: every node is exactly one, and there is no sixth case.
Variants§
Baseline
No previous snapshot (cold start).
Added
Present in current, not in previous.
Removed
Present in previous, not in current.
Unchanged
Present in both, same content_hash.
Modified
Present in both, different content_hash.
Implementations§
Trait Implementations§
Source§impl Clone for StateStatus
impl Clone for StateStatus
Source§fn clone(&self) -> StateStatus
fn clone(&self) -> StateStatus
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 moreimpl Copy for StateStatus
Source§impl Debug for StateStatus
impl Debug for StateStatus
Source§impl<'de> Deserialize<'de> for StateStatus
impl<'de> Deserialize<'de> for StateStatus
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
impl Eq for StateStatus
Source§impl PartialEq for StateStatus
impl PartialEq for StateStatus
Source§impl Serialize for StateStatus
impl Serialize for StateStatus
impl StructuralPartialEq for StateStatus
Auto Trait Implementations§
impl Freeze for StateStatus
impl RefUnwindSafe for StateStatus
impl Send for StateStatus
impl Sync for StateStatus
impl Unpin for StateStatus
impl UnsafeUnpin for StateStatus
impl UnwindSafe for StateStatus
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