pub enum Version {
Fix40,
Fix41,
Fix42,
Fix43,
Fix44,
Fix50,
Fix50Sp1,
Fix50Sp2,
Fixt11,
}Expand description
FIX protocol version.
Variants§
Fix40
FIX 4.0
Fix41
FIX 4.1
Fix42
FIX 4.2
Fix43
FIX 4.3
Fix44
FIX 4.4
Fix50
FIX 5.0
Fix50Sp1
FIX 5.0 SP1
Fix50Sp2
FIX 5.0 SP2
Fixt11
FIXT 1.1 (transport layer for FIX 5.0+)
Implementations§
Source§impl Version
impl Version
Sourcepub const fn begin_string(&self) -> &'static str
pub const fn begin_string(&self) -> &'static str
Returns the BeginString value for this version.
Sourcepub const fn appl_ver_id(&self) -> Option<&'static str>
pub const fn appl_ver_id(&self) -> Option<&'static str>
Returns the ApplVerID for FIX 5.0+ versions.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Version
impl<'de> Deserialize<'de> for Version
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Version, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Version, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for Version
impl Serialize for Version
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for Version
impl Eq for Version
impl StructuralPartialEq for Version
Auto Trait Implementations§
impl Freeze for Version
impl RefUnwindSafe for Version
impl Send for Version
impl Sync for Version
impl Unpin for Version
impl UnwindSafe for Version
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