pub struct DiffEntry {
pub key: String,
pub label: Option<String>,
pub status: DiffStatus,
pub old_ttl: Option<u32>,
pub new_ttl: Option<u32>,
}Expand description
A single entry in a SnapshotDiff.
Fields§
§key: StringBase64 XDR encoded LedgerKey.
label: Option<String>Readable ABI-derived key label, when available.
status: DiffStatusHow this entry changed between the two snapshots.
old_ttl: Option<u32>TTL in the old snapshot (None for entries that are Removed and were
not observed at the new point in time).
new_ttl: Option<u32>TTL in the new snapshot (None for Removed entries).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DiffEntry
impl<'de> Deserialize<'de> for DiffEntry
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 StructuralPartialEq for DiffEntry
Auto Trait Implementations§
impl Freeze for DiffEntry
impl RefUnwindSafe for DiffEntry
impl Send for DiffEntry
impl Sync for DiffEntry
impl Unpin for DiffEntry
impl UnsafeUnpin for DiffEntry
impl UnwindSafe for DiffEntry
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