pub struct AccountEntry {
pub name: &'static str,
pub writable: bool,
pub signer: bool,
pub layout_ref: &'static str,
}Expand description
An account entry in an instruction’s account list.
Fields§
§name: &'static strAccount name.
writable: boolWhether the account is writable.
signer: boolWhether the account is a signer.
layout_ref: &'static strOptional layout reference name (for typed accounts).
Trait Implementations§
Source§impl Clone for AccountEntry
impl Clone for AccountEntry
Source§fn clone(&self) -> AccountEntry
fn clone(&self) -> AccountEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AccountEntry
impl Debug for AccountEntry
impl Copy for AccountEntry
Auto Trait Implementations§
impl Freeze for AccountEntry
impl RefUnwindSafe for AccountEntry
impl Send for AccountEntry
impl Sync for AccountEntry
impl Unpin for AccountEntry
impl UnsafeUnpin for AccountEntry
impl UnwindSafe for AccountEntry
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