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
Source§impl<'a> PartialEq for TransactionAccountLocks<'a>
impl<'a> PartialEq for TransactionAccountLocks<'a>
impl<'a> Eq for TransactionAccountLocks<'a>
impl<'a> StructuralPartialEq for TransactionAccountLocks<'a>
Auto Trait Implementations§
impl<'a> Freeze for TransactionAccountLocks<'a>
impl<'a> RefUnwindSafe for TransactionAccountLocks<'a>
impl<'a> Send for TransactionAccountLocks<'a>
impl<'a> Sync for TransactionAccountLocks<'a>
impl<'a> Unpin for TransactionAccountLocks<'a>
impl<'a> UnwindSafe for TransactionAccountLocks<'a>
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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