#[repr(u64)]pub enum AccountFlag {
Initialized = 1,
Market = 2,
OpenOrders = 4,
RequestQueue = 8,
EventQueue = 16,
Bids = 32,
Asks = 64,
Disabled = 128,
Closed = 256,
Permissioned = 512,
CrankAuthorityRequired = 1_024,
}Variants§
Initialized = 1
Market = 2
OpenOrders = 4
RequestQueue = 8
EventQueue = 16
Bids = 32
Asks = 64
Disabled = 128
Closed = 256
Permissioned = 512
CrankAuthorityRequired = 1_024
Trait Implementations§
Source§impl BitAnd for AccountFlag
impl BitAnd for AccountFlag
Source§impl BitOr for AccountFlag
impl BitOr for AccountFlag
Source§impl BitXor for AccountFlag
impl BitXor for AccountFlag
Source§impl Clone for AccountFlag
impl Clone for AccountFlag
Source§fn clone(&self) -> AccountFlag
fn clone(&self) -> AccountFlag
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 AccountFlag
impl Debug for AccountFlag
Source§impl Not for AccountFlag
impl Not for AccountFlag
Source§impl PartialEq for AccountFlag
impl PartialEq for AccountFlag
Source§impl RawBitFlags for AccountFlag
impl RawBitFlags for AccountFlag
Source§fn bitflags_type_name() -> &'static str
fn bitflags_type_name() -> &'static str
Return the name of the type for debug formatting purposes. Read more
impl Copy for AccountFlag
impl Eq for AccountFlag
impl RawBitFlags for AccountFlag
impl StructuralPartialEq for AccountFlag
Auto Trait Implementations§
impl Freeze for AccountFlag
impl RefUnwindSafe for AccountFlag
impl Send for AccountFlag
impl Sync for AccountFlag
impl Unpin for AccountFlag
impl UnwindSafe for AccountFlag
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