Enum hdk::prelude::Details[][src]

pub enum Details {
    Element(ElementDetails),
    Entry(EntryDetails),
}

Return type for get_details calls. HeaderHash returns an Element. EntryHash returns an Entry.

Variants

Variant asking for a specific element

Variant asking for any information on data

Trait Implementations

impl Clone for Details[src]

impl Debug for Details[src]

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

impl PartialEq<Details> for Details[src]

impl Serialize for Details[src]

impl StructuralPartialEq for Details[src]

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

type Error = SerializedBytesError

The type returned in the event of a conversion error.

impl TryFrom<Details> for SerializedBytes[src]

type Error = SerializedBytesError

The type returned in the event of a conversion error.

impl TryFrom<SerializedBytes> for Details[src]

type Error = SerializedBytesError

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for Details

impl Send for Details

impl Sync for Details

impl Unpin for Details

impl UnwindSafe for Details

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