Struct holochain_zome_types::header::Delete [−][src]
pub struct Delete {
pub author: AgentPubKey,
pub timestamp: Timestamp,
pub header_seq: u32,
pub prev_header: HeaderHash,
pub deletes_address: HeaderHash,
pub deletes_entry_address: EntryHash,
}
Expand description
Declare that a previously published Header should be nullified and considered deleted.
Via the associated [DhtOp], this also has an effect on Entries: namely, that a previously published Entry will become inaccessible if all of its Headers are marked deleted.
Fields
timestamp: Timestamp
header_seq: u32
prev_header: HeaderHash
deletes_address: HeaderHash
Address of the Element being deleted
deletes_entry_address: EntryHash
Implementations
pub fn from_builder(
common: HeaderBuilderCommon,
deletes_address: HeaderHash,
deletes_entry_address: EntryHash
) -> Self
Trait Implementations
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
Get a full header from the subset
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
Performs the conversion.
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
Performs the conversion.
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Delete
impl UnwindSafe for Delete
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more