#[repr(u8)]pub enum FuturesYearDigits {
One = 1,
Two = 2,
}Expand description
The year-digit setting for futures instrument IDs in data and execution adapters.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for FuturesYearDigits
impl Clone for FuturesYearDigits
impl Copy for FuturesYearDigits
Source§impl Debug for FuturesYearDigits
impl Debug for FuturesYearDigits
Source§impl Default for FuturesYearDigits
impl Default for FuturesYearDigits
Source§impl<'de> Deserialize<'de> for FuturesYearDigits
impl<'de> Deserialize<'de> for FuturesYearDigits
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for FuturesYearDigits
Source§impl From<FuturesYearDigits> for u8
impl From<FuturesYearDigits> for u8
Source§fn from(value: FuturesYearDigits) -> Self
fn from(value: FuturesYearDigits) -> Self
Converts to this type from the input type.
Source§impl PartialEq for FuturesYearDigits
impl PartialEq for FuturesYearDigits
Source§impl Serialize for FuturesYearDigits
impl Serialize for FuturesYearDigits
impl StructuralPartialEq for FuturesYearDigits
Auto Trait Implementations§
impl Freeze for FuturesYearDigits
impl RefUnwindSafe for FuturesYearDigits
impl Send for FuturesYearDigits
impl Sync for FuturesYearDigits
impl Unpin for FuturesYearDigits
impl UnsafeUnpin for FuturesYearDigits
impl UnwindSafe for FuturesYearDigits
Blanket Implementations§
impl<T> Allocation for T
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more