[][src]Struct hdk::ValidationPackage

pub struct ValidationPackage {
    pub chain_header: ChainHeader,
    pub source_chain_entries: Option<Vec<Entry>>,
    pub source_chain_headers: Option<Vec<ChainHeader>>,
    pub custom: Option<String>,
}

Fields

chain_header: ChainHeadersource_chain_entries: Option<Vec<Entry>>source_chain_headers: Option<Vec<ChainHeader>>custom: Option<String>

Methods

impl ValidationPackage[src]

Trait Implementations

impl Serialize for ValidationPackage[src]

impl PartialEq<ValidationPackage> for ValidationPackage[src]

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

type Error = JsonError

The type returned in the event of a conversion error.

impl TryFrom<JsonString> for ValidationPackage[src]

type Error = JsonError

The type returned in the event of a conversion error.

impl Clone for ValidationPackage[src]

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

impl Debug for ValidationPackage[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for 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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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