#[repr(u8)]pub enum MarshAccount {
Bus = 100,
Config = 101,
Proof = 102,
Treasury = 103,
}
Variants§
Trait Implementations§
Source§impl Clone for MarshAccount
impl Clone for MarshAccount
Source§fn clone(&self) -> MarshAccount
fn clone(&self) -> MarshAccount
Returns a copy 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 MarshAccount
impl Debug for MarshAccount
Source§impl From<MarshAccount> for u8
impl From<MarshAccount> for u8
Source§fn from(enum_value: MarshAccount) -> Self
fn from(enum_value: MarshAccount) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MarshAccount
impl PartialEq for MarshAccount
Source§impl TryFrom<u8> for MarshAccount
impl TryFrom<u8> for MarshAccount
Source§type Error = TryFromPrimitiveError<MarshAccount>
type Error = TryFromPrimitiveError<MarshAccount>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for MarshAccount
impl TryFromPrimitive for MarshAccount
const NAME: &'static str = "MarshAccount"
type Primitive = u8
type Error = TryFromPrimitiveError<MarshAccount>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for MarshAccount
impl Eq for MarshAccount
impl StructuralPartialEq for MarshAccount
Auto Trait Implementations§
impl Freeze for MarshAccount
impl RefUnwindSafe for MarshAccount
impl Send for MarshAccount
impl Sync for MarshAccount
impl Unpin for MarshAccount
impl UnwindSafe for MarshAccount
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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