[][src]Struct hdk::ValidationPackage

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

Fields

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

Methods

impl ValidationPackage
[src]

pub fn only_header(header: ChainHeader) -> ValidationPackage
[src]

Trait Implementations

impl Clone for ValidationPackage
[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for ValidationPackage
[src]

impl TryFrom<JsonString> for ValidationPackage
[src]

type Error = HolochainError

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

type Error = HolochainError

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

impl Serialize for ValidationPackage
[src]

impl PartialEq<ValidationPackage> for ValidationPackage
[src]

impl Debug for ValidationPackage
[src]

Auto Trait Implementations

impl Send for ValidationPackage

impl Sync for ValidationPackage

Blanket Implementations

impl<T> From for T
[src]

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

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

type Owned = T

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

impl<T> Same for T

type Output = T

Should always be Self