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