Struct easyfix_messages::messages::FixtMessage
source · pub struct FixtMessage {
pub header: Box<Header>,
pub body: Box<Message>,
pub trailer: Box<Trailer>,
}
Fields§
§header: Box<Header>
§body: Box<Message>
§trailer: Box<Trailer>
Implementations§
source§impl FixtMessage
impl FixtMessage
pub fn serialize(&self) -> Vec<u8> ⓘ
pub fn deserialize( deserializer: Deserializer<'_> ) -> Result<Box<FixtMessage>, DeserializeError>
pub fn from_raw_message( raw_message: RawMessage<'_> ) -> Result<Box<FixtMessage>, DeserializeError>
pub fn from_bytes(input: &[u8]) -> Result<Box<FixtMessage>, DeserializeError>
pub fn dbg_fix_str(&self) -> impl Display
pub const fn msg_type(&self) -> MsgType
pub const fn msg_cat(&self) -> MsgCat
Trait Implementations§
source§impl Clone for FixtMessage
impl Clone for FixtMessage
source§fn clone(&self) -> FixtMessage
fn clone(&self) -> FixtMessage
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 moreAuto Trait Implementations§
impl RefUnwindSafe for FixtMessage
impl Send for FixtMessage
impl Sync for FixtMessage
impl Unpin for FixtMessage
impl UnwindSafe for FixtMessage
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