[][src]Enum hdk::prelude::Entry

pub enum Entry {
    App(AppEntryTypeJsonString),
    Dna(Box<Dna>),
    AgentId(AgentId),
    Deletion(DeletionEntry),
    LinkAdd(LinkData),
    LinkRemove((LinkData, Vec<HashString>)),
    LinkList(LinkList),
    ChainHeader(ChainHeader),
    ChainMigrate(ChainMigrate),
    CapTokenClaim(CapTokenClaim),
    CapTokenGrant(CapTokenGrant),
}

Structure holding actual data in a source chain "Item" data is stored as a JsonString

Variants

Dna(Box<Dna>)
AgentId(AgentId)
Deletion(DeletionEntry)
LinkAdd(LinkData)
LinkRemove((LinkData, Vec<HashString>))
ChainHeader(ChainHeader)
ChainMigrate(ChainMigrate)
CapTokenClaim(CapTokenClaim)
CapTokenGrant(CapTokenGrant)

Methods

impl Entry[src]

pub fn entry_type(&self) -> EntryType[src]

Trait Implementations

impl AddressableContent for Entry[src]

impl Clone for Entry[src]

impl Debug for Entry[src]

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

impl Eq for Entry[src]

impl<'a> From<&'a Entry> for JsonString[src]

impl From<Entry> for JsonString[src]

impl PartialEq<Entry> for Entry[src]

impl Serialize for Entry[src]

impl StructuralEq for Entry[src]

impl<'a> TryFrom<&'a JsonString> for Entry[src]

type Error = JsonError

The type returned in the event of a conversion error.

impl TryFrom<JsonString> for Entry[src]

type Error = JsonError

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for Entry

impl Send for Entry

impl Sync for Entry

impl Unpin for Entry

impl UnwindSafe for Entry

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> Clone for T where
    T: Clone
[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, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

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>,