pub struct TemplateAccount {
pub address: Address,
pub writable: bool,
pub signer: bool,
}Expand description
One account meta of a TemplateInstruction.
Fields§
§address: AddressThe account, base58. A placeholder in a role slot, since the probe rewrites it.
writable: boolWhether the account is writable. Defaults to false when omitted.
signer: boolWhether the account signs. Defaults to false when omitted.
Trait Implementations§
Source§impl Clone for TemplateAccount
impl Clone for TemplateAccount
impl Copy for TemplateAccount
Source§impl Debug for TemplateAccount
impl Debug for TemplateAccount
impl Eq for TemplateAccount
Source§impl PartialEq for TemplateAccount
impl PartialEq for TemplateAccount
impl StructuralPartialEq for TemplateAccount
Auto Trait Implementations§
impl Forget for TemplateAccount
impl Freeze for TemplateAccount
impl Move for TemplateAccount
impl RefUnwindSafe for TemplateAccount
impl Send for TemplateAccount
impl Sync for TemplateAccount
impl Unpin for TemplateAccount
impl UnsafeUnpin for TemplateAccount
impl UnwindSafe for TemplateAccount
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