Struct hdk::prelude::DeleteLink[][src]

pub struct DeleteLink {
    pub author: HoloHash<Agent>,
    pub timestamp: Timestamp,
    pub header_seq: u32,
    pub prev_header: HoloHash<Header>,
    pub base_address: HoloHash<Entry>,
    pub link_add_address: HoloHash<Header>,
}

Declares that a previously made Link should be nullified and considered removed.

Fields

author: HoloHash<Agent>timestamp: Timestampheader_seq: u32prev_header: HoloHash<Header>base_address: HoloHash<Entry>

this is redundant with the CreateLink header but needs to be included to facilitate DHT ops this is NOT exposed to wasm developers and is validated by the subconscious to ensure that it always matches the base_address of the CreateLink

link_add_address: HoloHash<Header>

The address of the CreateLink being reversed

Implementations

impl DeleteLink[src]

pub fn from_builder(
    common: HeaderBuilderCommon,
    link_add_address: HoloHash<Header>,
    base_address: HoloHash<Entry>
) -> DeleteLink
[src]

Trait Implementations

impl Clone for DeleteLink[src]

impl Debug for DeleteLink[src]

impl<'de> Deserialize<'de> for DeleteLink[src]

impl Eq for DeleteLink[src]

impl From<(DeleteLink, HeaderBuilderCommon)> for DeleteLink[src]

impl HeaderBuilder<DeleteLink> for DeleteLink[src]

impl HeaderInner for DeleteLink[src]

impl PartialEq<DeleteLink> for DeleteLink[src]

impl Serialize for DeleteLink[src]

impl StructuralEq for DeleteLink[src]

impl StructuralPartialEq for DeleteLink[src]

impl<'_> TryFrom<&'_ DeleteLink> for SerializedBytes[src]

type Error = SerializedBytesError

The type returned in the event of a conversion error.

impl<'a> TryFrom<&'a Header> for &'a DeleteLink[src]

type Error = WrongHeaderError

The type returned in the event of a conversion error.

impl TryFrom<DeleteLink> for SerializedBytes[src]

type Error = SerializedBytesError

The type returned in the event of a conversion error.

impl TryFrom<Element> for DeleteLink[src]

type Error = WrongHeaderError

The type returned in the event of a conversion error.

impl TryFrom<Header> for DeleteLink[src]

type Error = WrongHeaderError

The type returned in the event of a conversion error.

impl TryFrom<SerializedBytes> for DeleteLink[src]

type Error = SerializedBytesError

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,