Struct borsh::schema::BorshSchemaContainer[][src]

pub struct BorshSchemaContainer {
    pub declaration: Declaration,
    pub definitions: HashMap<Declaration, Definition>,
}

All schema information needed to deserialize a single type.

Fields

declaration: Declaration

Declaration of the type.

definitions: HashMap<Declaration, Definition>

All definitions needed to deserialize the given type.

Trait Implementations

impl BorshDeserialize for BorshSchemaContainer where
    Declaration: BorshDeserialize,
    HashMap<Declaration, Definition>: BorshDeserialize
[src]

impl BorshSchema for BorshSchemaContainer where
    Declaration: BorshSchema,
    HashMap<Declaration, Definition>: BorshSchema
[src]

impl BorshSerialize for BorshSchemaContainer where
    Declaration: BorshSerialize,
    HashMap<Declaration, Definition>: BorshSerialize
[src]

impl Debug for BorshSchemaContainer[src]

impl PartialEq<BorshSchemaContainer> for BorshSchemaContainer[src]

impl StructuralPartialEq for BorshSchemaContainer[src]

Auto Trait Implementations

impl RefUnwindSafe for BorshSchemaContainer

impl Send for BorshSchemaContainer

impl Sync for BorshSchemaContainer

impl Unpin for BorshSchemaContainer

impl UnwindSafe for BorshSchemaContainer

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> From<T> for T[src]

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

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.