#[repr(u8)]pub enum SubaccountType {
Derived = 0,
OwnerInvoker = 1,
}
Expand description
Type of Subaccount.
Variants§
Derived = 0
Requires the normal multisig approval process.
OwnerInvoker = 1
Any owner may sign an instruction as this address.
Trait Implementations§
Source§impl BorshDeserialize for SubaccountType
impl BorshDeserialize for SubaccountType
Source§impl BorshSerialize for SubaccountType
impl BorshSerialize for SubaccountType
Source§impl Clone for SubaccountType
impl Clone for SubaccountType
Source§fn clone(&self) -> SubaccountType
fn clone(&self) -> SubaccountType
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 moreSource§impl Debug for SubaccountType
impl Debug for SubaccountType
Source§impl Default for SubaccountType
impl Default for SubaccountType
Source§impl Ord for SubaccountType
impl Ord for SubaccountType
Source§fn cmp(&self, other: &SubaccountType) -> Ordering
fn cmp(&self, other: &SubaccountType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SubaccountType
impl PartialEq for SubaccountType
Source§impl PartialOrd for SubaccountType
impl PartialOrd for SubaccountType
impl Copy for SubaccountType
impl Eq for SubaccountType
impl StructuralPartialEq for SubaccountType
Auto Trait Implementations§
impl Freeze for SubaccountType
impl RefUnwindSafe for SubaccountType
impl Send for SubaccountType
impl Sync for SubaccountType
impl Unpin for SubaccountType
impl UnwindSafe for SubaccountType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more