pub struct InstructionAccount {
pub ident: Ident,
pub index: Option<u32>,
pub name: String,
pub writable: bool,
pub signer: bool,
pub optional_signer: bool,
pub desc: Option<String>,
pub optional: bool,
}Fields§
§ident: Ident§index: Option<u32>§name: String§writable: bool§signer: bool§optional_signer: bool§desc: Option<String>§optional: boolImplementations§
Source§impl InstructionAccount
impl InstructionAccount
pub fn from_account_attr(attr: &Attribute) -> ParseResult<InstructionAccount>
Trait Implementations§
Source§impl Debug for InstructionAccount
impl Debug for InstructionAccount
Source§impl PartialEq for InstructionAccount
impl PartialEq for InstructionAccount
impl Eq for InstructionAccount
impl StructuralPartialEq for InstructionAccount
Auto Trait Implementations§
impl Freeze for InstructionAccount
impl RefUnwindSafe for InstructionAccount
impl !Send for InstructionAccount
impl !Sync for InstructionAccount
impl Unpin for InstructionAccount
impl UnwindSafe for InstructionAccount
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