#[repr(i32)]pub enum FutureFieldId {
Show 24 variants
FutureCode = 1,
FutureName = 2,
FuturePrice = 3,
FutureChangeRate = 4,
FutureChangePrice = 5,
FutureBuyPrice = 6,
FutureSellPrice = 7,
FutureBuyVolume = 8,
FutureSellVolume = 9,
FutureVolume = 10,
FutureHoldings = 11,
FutureDayAddVolume = 12,
FutureOpenPrice = 13,
FutureHighPrice = 14,
FutureLowPrice = 15,
FutureLastTradeDate = 16,
FutureLastTradePrice = 17,
FutureLastPrice = 18,
FutureMarket = 19,
FutureExchange = 20,
FutureType = 21,
FutureCurrency = 22,
FutureTradingStatus = 23,
FutureManageWeight = 24,
}Variants§
FutureCode = 1
FutureName = 2
FuturePrice = 3
FutureChangeRate = 4
FutureChangePrice = 5
FutureBuyPrice = 6
FutureSellPrice = 7
FutureBuyVolume = 8
FutureSellVolume = 9
FutureVolume = 10
FutureHoldings = 11
FutureDayAddVolume = 12
FutureOpenPrice = 13
FutureHighPrice = 14
FutureLowPrice = 15
FutureLastTradeDate = 16
FutureLastTradePrice = 17
FutureLastPrice = 18
FutureMarket = 19
FutureExchange = 20
FutureType = 21
FutureCurrency = 22
FutureTradingStatus = 23
FutureManageWeight = 24
Implementations§
Source§impl FutureFieldId
impl FutureFieldId
Source§impl FutureFieldId
impl FutureFieldId
Sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
Sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
Source§impl Clone for FutureFieldId
impl Clone for FutureFieldId
Source§fn clone(&self) -> FutureFieldId
fn clone(&self) -> FutureFieldId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FutureFieldId
Source§impl Debug for FutureFieldId
impl Debug for FutureFieldId
Source§impl Default for FutureFieldId
impl Default for FutureFieldId
Source§fn default() -> FutureFieldId
fn default() -> FutureFieldId
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FutureFieldId
impl<'de> Deserialize<'de> for FutureFieldId
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 FutureFieldId
Source§impl From<FutureFieldId> for i32
impl From<FutureFieldId> for i32
Source§fn from(value: FutureFieldId) -> i32
fn from(value: FutureFieldId) -> i32
Converts to this type from the input type.
Source§impl Hash for FutureFieldId
impl Hash for FutureFieldId
Source§impl Ord for FutureFieldId
impl Ord for FutureFieldId
Source§fn cmp(&self, other: &FutureFieldId) -> Ordering
fn cmp(&self, other: &FutureFieldId) -> Ordering
1.21.0 (const: unstable) · 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 FutureFieldId
impl PartialEq for FutureFieldId
Source§fn eq(&self, other: &FutureFieldId) -> bool
fn eq(&self, other: &FutureFieldId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for FutureFieldId
impl PartialOrd for FutureFieldId
Source§impl Serialize for FutureFieldId
impl Serialize for FutureFieldId
impl StructuralPartialEq for FutureFieldId
Source§impl TryFrom<i32> for FutureFieldId
impl TryFrom<i32> for FutureFieldId
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
The type returned in the event of a conversion error.
Source§fn try_from(value: i32) -> Result<FutureFieldId, UnknownEnumValue>
fn try_from(value: i32) -> Result<FutureFieldId, UnknownEnumValue>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for FutureFieldId
impl RefUnwindSafe for FutureFieldId
impl Send for FutureFieldId
impl Sync for FutureFieldId
impl Unpin for FutureFieldId
impl UnsafeUnpin for FutureFieldId
impl UnwindSafe for FutureFieldId
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