pub struct Tombstone {
pub reason: String,
pub tombstoned_at: u64,
pub extra: BTreeMap<String, Ipld>,
}Expand description
A logical forget-marker attached to a NodeId.
Fields§
§reason: StringFree-form UTF-8 reason string. MAY be empty.
tombstoned_at: u64Microseconds since Unix epoch when the tombstone was recorded.
extra: BTreeMap<String, Ipld>Forward-compat extension map (SPEC §3.2).
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Tombstone
impl<'de> Deserialize<'de> for Tombstone
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Tombstone
impl StructuralPartialEq for Tombstone
Auto Trait Implementations§
impl Freeze for Tombstone
impl RefUnwindSafe for Tombstone
impl Send for Tombstone
impl Sync for Tombstone
impl Unpin for Tombstone
impl UnsafeUnpin for Tombstone
impl UnwindSafe for Tombstone
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