pub struct ConfigTransactionExecute {
pub multisig: Pubkey,
pub member: Pubkey,
pub proposal: Pubkey,
pub transaction: Pubkey,
pub rent_payer: Option<Pubkey>,
pub system_program: Option<Pubkey>,
}Expand description
Generated client accounts for ConfigTransactionExecute.
Fields§
§multisig: PubkeyThe multisig account that owns the transaction.
member: PubkeyOne of the multisig members with Execute permission.
proposal: PubkeyThe proposal account associated with the transaction.
transaction: PubkeyThe transaction to execute.
rent_payer: Option<Pubkey>The account that will be charged/credited in case the config transaction causes space reallocation,
for example when adding a new member, adding or removing a spending limit.
This is usually the same as member, but can be a different account if needed.
system_program: Option<Pubkey>We might need it in case reallocation is needed.
Trait Implementations§
Source§impl ToAccountMetas for ConfigTransactionExecute
impl ToAccountMetas for ConfigTransactionExecute
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 ConfigTransactionExecute
impl RefUnwindSafe for ConfigTransactionExecute
impl Send for ConfigTransactionExecute
impl Sync for ConfigTransactionExecute
impl Unpin for ConfigTransactionExecute
impl UnwindSafe for ConfigTransactionExecute
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more