Struct solana_sdk::transaction::TransactionAccountLocks
source · pub struct TransactionAccountLocks<'a> {
pub readonly: Vec<&'a Pubkey>,
pub writable: Vec<&'a Pubkey>,
}
Expand description
Set of accounts that must be locked for safe transaction processing
Fields§
§readonly: Vec<&'a Pubkey>
List of readonly account key locks
writable: Vec<&'a Pubkey>
List of writable account key locks
Trait Implementations§
source§impl<'a> Clone for TransactionAccountLocks<'a>
impl<'a> Clone for TransactionAccountLocks<'a>
source§fn clone(&self) -> TransactionAccountLocks<'a>
fn clone(&self) -> TransactionAccountLocks<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for TransactionAccountLocks<'a>
impl<'a> Debug for TransactionAccountLocks<'a>
source§impl<'a> Default for TransactionAccountLocks<'a>
impl<'a> Default for TransactionAccountLocks<'a>
source§fn default() -> TransactionAccountLocks<'a>
fn default() -> TransactionAccountLocks<'a>
Returns the “default value” for a type. Read more