Enum easyfix_messages::fields::RoutingType
source · pub enum RoutingType {
TargetFirm,
TargetList,
BlockFirm,
BlockList,
}
Variants§
Implementations§
source§impl RoutingType
impl RoutingType
pub fn from_bytes(input: &[u8]) -> Option<RoutingType>
pub fn from_fix_str(input: &FixStr) -> Option<RoutingType>
pub fn as_bytes(&self) -> &'static [u8] ⓘ
pub fn as_fix_str(&self) -> &'static FixStr
Trait Implementations§
source§impl Clone for RoutingType
impl Clone for RoutingType
source§fn clone(&self) -> RoutingType
fn clone(&self) -> RoutingType
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 RoutingType
impl Debug for RoutingType
source§impl From<RoutingType> for &'static [u8]
impl From<RoutingType> for &'static [u8]
source§impl PartialEq<RoutingType> for RoutingType
impl PartialEq<RoutingType> for RoutingType
source§fn eq(&self, other: &RoutingType) -> bool
fn eq(&self, other: &RoutingType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ToFixString for RoutingType
impl ToFixString for RoutingType
fn to_fix_string(&self) -> FixString
source§impl TryFrom<i64> for RoutingType
impl TryFrom<i64> for RoutingType
§type Error = SessionRejectReason
type Error = SessionRejectReason
The type returned in the event of a conversion error.
source§fn try_from(input: Int) -> Result<RoutingType, SessionRejectReason>
fn try_from(input: Int) -> Result<RoutingType, SessionRejectReason>
Performs the conversion.
impl Copy for RoutingType
impl Eq for RoutingType
impl StructuralEq for RoutingType
impl StructuralPartialEq for RoutingType
Auto Trait Implementations§
impl RefUnwindSafe for RoutingType
impl Send for RoutingType
impl Sync for RoutingType
impl Unpin for RoutingType
impl UnwindSafe for RoutingType
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