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