Enum velas_account_program::VelasAccountType[][src]

pub enum VelasAccountType {
    Account(VAccountInfo),
    Storage(VAccountStorage),
}

A wrapper enum for consistency across programs

Variants

Account(VAccountInfo)
Storage(VAccountStorage)

Trait Implementations

impl BorshDeserialize for VelasAccountType where
    VAccountInfo: BorshDeserialize,
    VAccountStorage: BorshDeserialize
[src]

impl BorshSchema for VelasAccountType[src]

impl BorshSerialize for VelasAccountType where
    VAccountInfo: BorshSerialize,
    VAccountStorage: BorshSerialize
[src]

impl Debug for VelasAccountType[src]

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

impl PartialEq<VelasAccountType> for VelasAccountType[src]

impl Serialize for VelasAccountType[src]

impl StructuralPartialEq for VelasAccountType[src]

impl TryFrom<&'_ [u8]> for VelasAccountType[src]

type Error = ParseError

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for VelasAccountType

impl Send for VelasAccountType

impl Sync for VelasAccountType

impl Unpin for VelasAccountType

impl UnwindSafe for VelasAccountType

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, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> MaybeDebug for T where
    T: Debug
[src]

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

type Output = T

Should always be Self

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> Typeable for T where
    T: Any

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]