Struct hdk::prelude::EntryDetails[][src]

pub struct EntryDetails {
    pub entry: Entry,
    pub headers: Vec<SignedHeaderHashed, Global>,
    pub rejected_headers: Vec<SignedHeaderHashed, Global>,
    pub deletes: Vec<SignedHeaderHashed, Global>,
    pub updates: Vec<SignedHeaderHashed, Global>,
    pub entry_dht_status: EntryDhtStatus,
}

An Entry with all it’s metadata.

Fields

entry: Entry

The data

headers: Vec<SignedHeaderHashed, Global>

Create relationships.

These are the headers that created this entry. They can be either a [Create] or an [Update] header where the entry_hash field is the hash of the above entry.

You can make an Element from any of these and the entry.

rejected_headers: Vec<SignedHeaderHashed, Global>

Rejected create relationships. These are also the headers that created this entry. but did not pass validation.

deletes: Vec<SignedHeaderHashed, Global>

Delete relationships

These are the deletes that have the deletes_entry_address set to the above Entry.

updates: Vec<SignedHeaderHashed, Global>

Update relationships.

These are the updates that have the original_entry_address set to the above Entry.

Notes

This is just the relationship and you will need call get if you want to get the new Entry (the entry on the entry_hash field).

You cannot make an Element from these headers and the above entry.

entry_dht_status: EntryDhtStatus

The status of this entry currently according to your view of the metadata

Trait Implementations

impl Clone for EntryDetails[src]

impl Debug for EntryDetails[src]

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

impl PartialEq<EntryDetails> for EntryDetails[src]

impl Serialize for EntryDetails[src]

impl StructuralPartialEq for EntryDetails[src]

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

type Error = SerializedBytesError

The type returned in the event of a conversion error.

impl TryFrom<EntryDetails> for SerializedBytes[src]

type Error = SerializedBytesError

The type returned in the event of a conversion error.

impl TryFrom<SerializedBytes> for EntryDetails[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<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>,