pub enum DiffStatus {
Removed,
ExpiringSoon,
Unchanged,
}Expand description
Classification of a single entry in a snapshot diff.
Variants§
Removed
Entry was present in the old snapshot but is absent in the new one. This means it expired or was otherwise removed from the ledger.
ExpiringSoon
Entry is still live in the new snapshot but its TTL is below
EXPIRING_SOON_LEDGERS. Action is recommended before it expires.
Unchanged
Entry is still live and its TTL is above the expiring-soon threshold.
Trait Implementations§
Source§impl Clone for DiffStatus
impl Clone for DiffStatus
impl Copy for DiffStatus
Source§impl Debug for DiffStatus
impl Debug for DiffStatus
Source§impl<'de> Deserialize<'de> for DiffStatus
impl<'de> Deserialize<'de> for DiffStatus
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 DiffStatus
Source§impl PartialEq for DiffStatus
impl PartialEq for DiffStatus
Source§impl Serialize for DiffStatus
impl Serialize for DiffStatus
impl StructuralPartialEq for DiffStatus
Auto Trait Implementations§
impl Freeze for DiffStatus
impl RefUnwindSafe for DiffStatus
impl Send for DiffStatus
impl Sync for DiffStatus
impl Unpin for DiffStatus
impl UnsafeUnpin for DiffStatus
impl UnwindSafe for DiffStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.