pub struct AccountExplain {
pub name: &'static str,
pub kind: &'static str,
pub layout: Option<&'static str>,
pub policy: Option<&'static str>,
pub mutable: bool,
pub signer: bool,
pub optional: bool,
}Expand description
Human-readable explanation of a single account.
Fields§
§name: &'static strField name.
kind: &'static strAccount kind.
layout: Option<&'static str>Layout name, if bound.
policy: Option<&'static str>Policy name, if bound.
mutable: boolWhether the account is writable.
signer: boolWhether the account is a signer.
optional: boolWhether the account is optional.
Auto Trait Implementations§
impl Freeze for AccountExplain
impl RefUnwindSafe for AccountExplain
impl Send for AccountExplain
impl Sync for AccountExplain
impl Unpin for AccountExplain
impl UnsafeUnpin for AccountExplain
impl UnwindSafe for AccountExplain
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