#[repr(u64)]pub enum MessageTopic {
Orderflow = 1,
ExternalOrderflow = 2,
}Variants§
Trait Implementations§
Source§impl BitAnd for MessageTopic
impl BitAnd for MessageTopic
Source§impl BitFlag for MessageTopic
impl BitFlag for MessageTopic
Source§fn empty() -> BitFlags<Self>
fn empty() -> BitFlags<Self>
Create a
BitFlags with no flags set (in other words, with a value of 0). Read moreSource§fn from_bits(bits: Self::Numeric) -> Result<BitFlags<Self>, FromBitsError<Self>>
fn from_bits(bits: Self::Numeric) -> Result<BitFlags<Self>, FromBitsError<Self>>
Create a
BitFlags if the raw value provided does not contain
any illegal flags. Read moreSource§fn from_bits_truncate(bits: Self::Numeric) -> BitFlags<Self>
fn from_bits_truncate(bits: Self::Numeric) -> BitFlags<Self>
Create a
BitFlags from an underlying bitwise value. If any
invalid bits are set, ignore them. Read moreSource§unsafe fn from_bits_unchecked(bits: Self::Numeric) -> BitFlags<Self>
unsafe fn from_bits_unchecked(bits: Self::Numeric) -> BitFlags<Self>
Create a
BitFlags unsafely, without checking if the bits form
a valid bit pattern for the type. Read moreSource§impl BitOr for MessageTopic
impl BitOr for MessageTopic
Source§impl BitXor for MessageTopic
impl BitXor for MessageTopic
Source§impl Clone for MessageTopic
impl Clone for MessageTopic
Source§fn clone(&self) -> MessageTopic
fn clone(&self) -> MessageTopic
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 MessageTopic
impl Debug for MessageTopic
Source§impl Hash for MessageTopic
impl Hash for MessageTopic
Source§impl JsonSchema for MessageTopic
impl JsonSchema for MessageTopic
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreSource§impl Not for MessageTopic
impl Not for MessageTopic
Source§impl Ord for MessageTopic
impl Ord for MessageTopic
Source§fn cmp(&self, other: &MessageTopic) -> Ordering
fn cmp(&self, other: &MessageTopic) -> 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 MessageTopic
impl PartialEq for MessageTopic
Source§impl PartialOrd for MessageTopic
impl PartialOrd for MessageTopic
Source§impl RawBitFlags for MessageTopic
impl RawBitFlags for MessageTopic
Source§const EMPTY: Self::Numeric = {transmute(0x0000000000000000): <typed_message::MessageTopic as enumflags2::_internal::RawBitFlags>::Numeric}
const EMPTY: Self::Numeric = {transmute(0x0000000000000000): <typed_message::MessageTopic as enumflags2::_internal::RawBitFlags>::Numeric}
A value with no bits set.
Source§const DEFAULT: Self::Numeric = {transmute(0x0000000000000000): <typed_message::MessageTopic as enumflags2::_internal::RawBitFlags>::Numeric}
const DEFAULT: Self::Numeric = {transmute(0x0000000000000000): <typed_message::MessageTopic as enumflags2::_internal::RawBitFlags>::Numeric}
The value used by the Default implementation. Equivalent to EMPTY, unless
customized.
Source§const ALL_BITS: Self::Numeric = {transmute(0x0000000000000003): <typed_message::MessageTopic as enumflags2::_internal::RawBitFlags>::Numeric}
const ALL_BITS: Self::Numeric = {transmute(0x0000000000000003): <typed_message::MessageTopic as enumflags2::_internal::RawBitFlags>::Numeric}
A value with all flag bits set.
Source§const BITFLAGS_TYPE_NAME: &'static str = "BitFlags<MessageTopic>"
const BITFLAGS_TYPE_NAME: &'static str = "BitFlags<MessageTopic>"
The name of the type for debug formatting purposes. Read more
impl Copy for MessageTopic
impl Eq for MessageTopic
impl StructuralPartialEq for MessageTopic
Auto Trait Implementations§
impl Freeze for MessageTopic
impl RefUnwindSafe for MessageTopic
impl Send for MessageTopic
impl Sync for MessageTopic
impl Unpin for MessageTopic
impl UnwindSafe for MessageTopic
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.