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][+]
VAccountInfo: BorshDeserialize,
VAccountStorage: BorshDeserialize,
impl BorshSchema for VelasAccountType
[src][+]
impl BorshSerialize for VelasAccountType where
VAccountInfo: BorshSerialize,
VAccountStorage: BorshSerialize,
[src][+]
VAccountInfo: BorshSerialize,
VAccountStorage: BorshSerialize,
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][+]
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][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> MaybeDebug for T where
T: Debug,
[src]
T: Debug,
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][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<T> Typeable for T where
T: Any,
[+]
T: Any,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,