Struct velas_account_program::ExternalProgram[][src]

#[repr(C)]pub struct ExternalProgram {
    pub program_id: Pubkey,
    pub scopes: Vec<u8>,
}

Operational key state.

Fields

program_id: Pubkey

Allowed to call program code id

scopes: Vec<u8>

Allowed to call instruction inside program

Trait Implementations

impl BorshDeserialize for ExternalProgram where
    Pubkey: BorshDeserialize,
    Vec<u8>: BorshDeserialize
[src]

impl BorshSchema for ExternalProgram where
    Pubkey: BorshSchema,
    Vec<u8>: BorshSchema
[src]

impl BorshSerialize for ExternalProgram where
    Pubkey: BorshSerialize,
    Vec<u8>: BorshSerialize
[src]

impl Clone for ExternalProgram[src]

impl Debug for ExternalProgram[src]

impl Default for ExternalProgram[src]

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

impl Eq for ExternalProgram[src]

impl Hash for ExternalProgram[src]

impl PartialEq<ExternalProgram> for ExternalProgram[src]

impl Serialize for ExternalProgram[src]

impl StructuralEq for ExternalProgram[src]

impl StructuralPartialEq for ExternalProgram[src]

Auto Trait Implementations

impl RefUnwindSafe for ExternalProgram

impl Send for ExternalProgram

impl Sync for ExternalProgram

impl Unpin for ExternalProgram

impl UnwindSafe for ExternalProgram

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]