#[repr(u16)]pub enum AccountIndexFormat {
Linear,
LinearIndex,
}
Variants§
Trait Implementations§
source§impl Clone for AccountIndexFormat
impl Clone for AccountIndexFormat
source§fn clone(&self) -> AccountIndexFormat
fn clone(&self) -> AccountIndexFormat
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 AccountIndexFormat
impl Debug for AccountIndexFormat
source§impl Default for AccountIndexFormat
impl Default for AccountIndexFormat
source§fn default() -> AccountIndexFormat
fn default() -> AccountIndexFormat
Returns the “default value” for a type. Read more
source§impl From<AccountIndexFormat> for u16
impl From<AccountIndexFormat> for u16
source§fn from(enum_value: AccountIndexFormat) -> Self
fn from(enum_value: AccountIndexFormat) -> Self
Converts to this type from the input type.
source§impl Hash for AccountIndexFormat
impl Hash for AccountIndexFormat
source§impl PartialEq<AccountIndexFormat> for AccountIndexFormat
impl PartialEq<AccountIndexFormat> for AccountIndexFormat
source§fn eq(&self, other: &AccountIndexFormat) -> bool
fn eq(&self, other: &AccountIndexFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u16> for AccountIndexFormat
impl TryFrom<u16> for AccountIndexFormat
§type Error = TryFromPrimitiveError<AccountIndexFormat>
type Error = TryFromPrimitiveError<AccountIndexFormat>
The type returned in the event of a conversion error.
impl Copy for AccountIndexFormat
impl Eq for AccountIndexFormat
impl StructuralEq for AccountIndexFormat
impl StructuralPartialEq for AccountIndexFormat
Auto Trait Implementations§
impl RefUnwindSafe for AccountIndexFormat
impl Send for AccountIndexFormat
impl Sync for AccountIndexFormat
impl Unpin for AccountIndexFormat
impl UnwindSafe for AccountIndexFormat
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.