Struct velas_account_program::ExternalToken[][src]

#[repr(C)]pub struct ExternalToken {
    pub account: TokenAccount,
    pub last_transfer: UnixTimestamp,
}

Token account.

Fields

account: TokenAccount

Token account with daily transfer limit

last_transfer: UnixTimestamp

Last uses of transfer

Trait Implementations

impl BorshDeserialize for ExternalToken where
    TokenAccount: BorshDeserialize,
    UnixTimestamp: BorshDeserialize
[src]

impl BorshSchema for ExternalToken where
    TokenAccount: BorshSchema,
    UnixTimestamp: BorshSchema
[src]

impl BorshSerialize for ExternalToken where
    TokenAccount: BorshSerialize,
    UnixTimestamp: BorshSerialize
[src]

impl Clone for ExternalToken[src]

impl Debug for ExternalToken[src]

impl Default for ExternalToken[src]

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

impl Eq for ExternalToken[src]

impl Hash for ExternalToken[src]

impl PartialEq<ExternalToken> for ExternalToken[src]

impl Serialize for ExternalToken[src]

impl StructuralEq for ExternalToken[src]

impl StructuralPartialEq for ExternalToken[src]

Auto Trait Implementations

impl RefUnwindSafe for ExternalToken

impl Send for ExternalToken

impl Sync for ExternalToken

impl Unpin for ExternalToken

impl UnwindSafe for ExternalToken

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]