#[repr(i32)]pub enum FixExecType {
Show 14 variants
Unspecified = 0,
New = 1,
PartialFill = 2,
Fill = 3,
Canceled = 4,
Replaced = 5,
PendingNew = 6,
PendingCancel = 7,
PendingReplace = 8,
Rejected = 9,
Suspended = 10,
Expired = 11,
Restated = 12,
Trade = 13,
}Expand description
FIX协议的报告执行类型
Variants§
Unspecified = 0
New = 1
新订单
PartialFill = 2
订单部分成交
Fill = 3
订单全部成交
Canceled = 4
订单被撤销
Replaced = 5
订单被替换
PendingNew = 6
订单等待提交
PendingCancel = 7
订单等待撤销
PendingReplace = 8
订单等待替换
Rejected = 9
订单被拒绝
Suspended = 10
订单被暂停
Expired = 11
订单过期
Restated = 12
订单被重置
Trade = 13
订单成交(部分成交或全部成交)
Implementations§
Source§impl FixExecType
impl FixExecType
Source§impl FixExecType
impl FixExecType
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 FixExecType
impl Clone for FixExecType
Source§fn clone(&self) -> FixExecType
fn clone(&self) -> FixExecType
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 FixExecType
impl Debug for FixExecType
Source§impl Default for FixExecType
impl Default for FixExecType
Source§fn default() -> FixExecType
fn default() -> FixExecType
Returns the “default value” for a type. Read more
Source§impl From<FixExecType> for i32
impl From<FixExecType> for i32
Source§fn from(value: FixExecType) -> i32
fn from(value: FixExecType) -> i32
Converts to this type from the input type.
Source§impl Hash for FixExecType
impl Hash for FixExecType
Source§impl Ord for FixExecType
impl Ord for FixExecType
Source§fn cmp(&self, other: &FixExecType) -> Ordering
fn cmp(&self, other: &FixExecType) -> 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 FixExecType
impl PartialEq for FixExecType
Source§impl PartialOrd for FixExecType
impl PartialOrd for FixExecType
Source§impl TryFrom<i32> for FixExecType
impl TryFrom<i32> for FixExecType
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
The type returned in the event of a conversion error.
Source§fn try_from(value: i32) -> Result<FixExecType, UnknownEnumValue>
fn try_from(value: i32) -> Result<FixExecType, UnknownEnumValue>
Performs the conversion.
impl Copy for FixExecType
impl Eq for FixExecType
impl StructuralPartialEq for FixExecType
Auto Trait Implementations§
impl Freeze for FixExecType
impl RefUnwindSafe for FixExecType
impl Send for FixExecType
impl Sync for FixExecType
impl Unpin for FixExecType
impl UnsafeUnpin for FixExecType
impl UnwindSafe for FixExecType
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,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§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
§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
§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.