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.


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

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

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

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.