pub struct AccountRole {
pub writable: bool,
pub signer: bool,
pub pda: bool,
}Fields§
§writable: bool§signer: bool§pda: boolTrait Implementations§
Source§impl Clone for AccountRole
impl Clone for AccountRole
Source§fn clone(&self) -> AccountRole
fn clone(&self) -> AccountRole
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for AccountRole
impl RefUnwindSafe for AccountRole
impl Send for AccountRole
impl Sync for AccountRole
impl Unpin for AccountRole
impl UnsafeUnpin for AccountRole
impl UnwindSafe for AccountRole
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