Struct velas_account_program::VAccountInfo[][src]

#[repr(C)]pub struct VAccountInfo {
    pub version: u8,
    pub genesis_seed_key: Pubkey,
    pub storage_version: u16,
    pub storage: Pubkey,
}

Program states.

Fields

version: u8

Vaccount version

genesis_seed_key: Pubkey

Genegis owner key that generate Vaccount address

storage_version: u16

Storage version

storage: Pubkey

Storage address

Trait Implementations

impl BorshDeserialize for VAccountInfo where
    u8: BorshDeserialize,
    Pubkey: BorshDeserialize,
    u16: BorshDeserialize,
    Pubkey: BorshDeserialize
[src]

impl BorshSchema for VAccountInfo where
    u8: BorshSchema,
    Pubkey: BorshSchema,
    u16: BorshSchema,
    Pubkey: BorshSchema
[src]

impl BorshSerialize for VAccountInfo where
    u8: BorshSerialize,
    Pubkey: BorshSerialize,
    u16: BorshSerialize,
    Pubkey: BorshSerialize
[src]

impl Clone for VAccountInfo[src]

impl Debug for VAccountInfo[src]

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

impl PartialEq<VAccountInfo> for VAccountInfo[src]

impl Serialize for VAccountInfo[src]

impl StructuralPartialEq for VAccountInfo[src]

Auto Trait Implementations

impl RefUnwindSafe for VAccountInfo

impl Send for VAccountInfo

impl Sync for VAccountInfo

impl Unpin for VAccountInfo

impl UnwindSafe for VAccountInfo

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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]