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