pub struct VaultMetaAccount {
Show 23 fields pub retail_encryption_pub_key: [u8; 32], pub mm_encryption_pub_key: [u8; 32], pub retail_signing_pub_key: [u8; 32], pub retail_signature: [u8; 64], pub vault_token_account: Pubkey, pub rebate_receiver_token_account: Pubkey, pub market_maker_data_account: Pubkey, pub retail_data_account: Pubkey, pub retail_account_owner: Pubkey, pub retail_x_token_account: Pubkey, pub x_mint: Pubkey, pub deposit_notional: u64, pub deposit_amount: u64, pub filled_x_amount: u64, pub filled_y_amount: u64, pub auction_id: u64, pub auction_epoch: u64, pub nonce: u64, pub order_id: u64, pub order_type: u8, pub fill_nonce: u16, pub basket_prices: Vec<MantissaExp>, pub encrypted_order_details: String,
}

Fields

retail_encryption_pub_key: [u8; 32]mm_encryption_pub_key: [u8; 32]retail_signing_pub_key: [u8; 32]retail_signature: [u8; 64]vault_token_account: Pubkeyrebate_receiver_token_account: Pubkeymarket_maker_data_account: Pubkeyretail_data_account: Pubkeyretail_account_owner: Pubkeyretail_x_token_account: Pubkeyx_mint: Pubkeydeposit_notional: u64deposit_amount: u64filled_x_amount: u64filled_y_amount: u64auction_id: u64auction_epoch: u64nonce: u64order_id: u64order_type: u8fill_nonce: u16basket_prices: Vec<MantissaExp>encrypted_order_details: String

Trait Implementations

Deserializes previously initialized account data. Should fail for all uninitialized accounts, where the bytes are zeroed. Implementations should be unique to a particular account type so that one can never successfully deserialize the data of one account type into another. For example, if the SPL token program were to implement this trait, it should be impossible to deserialize a Mint account into a token Account. Read more

Deserializes account data without checking the account discriminator. This should only be used on account initialization, when the bytes of the account are zeroed. Read more

Serializes the account data into writer.

Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes. Read more

Deserialize this instance from a slice of bytes.

Serialize this instance into a vector of bytes.

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more