pub struct AutoDeleverage {Show 25 fields
pub authority: Pubkey,
pub owner: Pubkey,
pub user: Pubkey,
pub store: Pubkey,
pub token_map: Pubkey,
pub oracle: Pubkey,
pub market: Pubkey,
pub order: Pubkey,
pub position: Pubkey,
pub event: Pubkey,
pub long_token: Pubkey,
pub short_token: Pubkey,
pub long_token_escrow: Pubkey,
pub short_token_escrow: Pubkey,
pub long_token_vault: Pubkey,
pub short_token_vault: Pubkey,
pub claimable_long_token_account_for_user: Pubkey,
pub claimable_short_token_account_for_user: Pubkey,
pub claimable_pnl_token_account_for_holding: Pubkey,
pub system_program: Pubkey,
pub token_program: Pubkey,
pub associated_token_program: Pubkey,
pub chainlink_program: Option<Pubkey>,
pub event_authority: Pubkey,
pub program: Pubkey,
}Expand description
Generated client accounts for AutoDeleverage.
Fields§
§owner: Pubkey§user: Pubkey§store: Pubkey§token_map: Pubkey§oracle: Pubkey§market: Pubkey§order: Pubkey§position: Pubkey§event: Pubkey§long_token: Pubkey§short_token: Pubkey§long_token_escrow: Pubkey§short_token_escrow: Pubkey§long_token_vault: Pubkey§short_token_vault: Pubkey§claimable_long_token_account_for_user: Pubkey§claimable_short_token_account_for_user: Pubkey§claimable_pnl_token_account_for_holding: Pubkey§system_program: Pubkey§token_program: Pubkey§associated_token_program: Pubkey§chainlink_program: Option<Pubkey>§program: PubkeyTrait Implementations§
Source§impl BorshSerialize for AutoDeleverage
impl BorshSerialize for AutoDeleverage
Source§impl ToAccountMetas for AutoDeleverage
impl ToAccountMetas for AutoDeleverage
Source§fn to_account_metas(&self, is_signer: Option<bool>) -> Vec<AccountMeta>
fn to_account_metas(&self, is_signer: Option<bool>) -> Vec<AccountMeta>
is_signer is given as an optional override for the signer meta field.
This covers the edge case when a program-derived-address needs to relay
a transaction from a client to another program but sign the transaction
before the relay. The client cannot mark the field as a signer, and so
we have to override the is_signer meta field given by the client.Auto Trait Implementations§
impl Freeze for AutoDeleverage
impl RefUnwindSafe for AutoDeleverage
impl Send for AutoDeleverage
impl Sync for AutoDeleverage
impl Unpin for AutoDeleverage
impl UnwindSafe for AutoDeleverage
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more