pub struct MangoStandaloneAddresses {
pub group: Pubkey,
pub optimizer_mango_account: Pubkey,
pub cache: Pubkey,
pub root_bank: Pubkey,
pub node_bank: Pubkey,
pub group_token_account: Pubkey,
pub group_signer: Pubkey,
}Fields
group: Pubkeyoptimizer_mango_account: Pubkeycache: Pubkeyroot_bank: Pubkeynode_bank: Pubkeygroup_token_account: Pubkeygroup_signer: PubkeyTrait Implementations
sourceimpl Clone for MangoStandaloneAddresses
impl Clone for MangoStandaloneAddresses
sourcefn clone(&self) -> MangoStandaloneAddresses
fn clone(&self) -> MangoStandaloneAddresses
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl ToAccountMetas for MangoStandaloneAddresses
impl ToAccountMetas for MangoStandaloneAddresses
sourcefn to_account_metas(&self, _is_signer: Option<bool>) -> Vec<AccountMeta>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_account_metas(&self, _is_signer: Option<bool>) -> Vec<AccountMeta>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
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. Read moresourceimpl TryFrom<&[Pubkey]> for MangoStandaloneAddresses
impl TryFrom<&[Pubkey]> for MangoStandaloneAddresses
impl Copy for MangoStandaloneAddresses
Auto Trait Implementations
impl RefUnwindSafe for MangoStandaloneAddresses
impl Send for MangoStandaloneAddresses
impl Sync for MangoStandaloneAddresses
impl Unpin for MangoStandaloneAddresses
impl UnwindSafe for MangoStandaloneAddresses
Blanket Implementations
impl<T> AbiExample for T
impl<T> AbiExample for T
default fn example() -> T
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more