pub struct Trailing<'s, 'a> {
pub views: &'s [&'a AccountView<'a>],
pub writable: bool,
pub signer: bool,
}Expand description
A run of accounts appended after a builder’s fixed accounts, all with the same privileges: the multisig signers of an authority, the member list of a new multisig, or the source accounts of a withheld-fee sweep.
Fields§
§views: &'s [&'a AccountView<'a>]§writable: bool§signer: boolImplementations§
Source§impl<'s, 'a> Trailing<'s, 'a>
impl<'s, 'a> Trailing<'s, 'a>
Sourcepub const fn signers(views: &'s [&'a AccountView<'a>]) -> Self
pub const fn signers(views: &'s [&'a AccountView<'a>]) -> Self
Read-only signers (a multisig authority’s signer set).
Sourcepub const fn readonly(views: &'s [&'a AccountView<'a>]) -> Self
pub const fn readonly(views: &'s [&'a AccountView<'a>]) -> Self
Read-only non-signers (the member list of InitializeMultisig).
Sourcepub const fn writable(views: &'s [&'a AccountView<'a>]) -> Self
pub const fn writable(views: &'s [&'a AccountView<'a>]) -> Self
Writable non-signers (the sources of a withheld-fee harvest).
Trait Implementations§
Auto Trait Implementations§
impl<'s, 'a> !Send for Trailing<'s, 'a>
impl<'s, 'a> !Sync for Trailing<'s, 'a>
impl<'s, 'a> Freeze for Trailing<'s, 'a>
impl<'s, 'a> RefUnwindSafe for Trailing<'s, 'a>
impl<'s, 'a> Unpin for Trailing<'s, 'a>
impl<'s, 'a> UnsafeUnpin for Trailing<'s, 'a>
impl<'s, 'a> UnwindSafe for Trailing<'s, 'a>
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