pub struct OutboundMessage { /* private fields */ }Expand description
An outbound application message: a MsgType plus ordered body fields.
The engine stamps the standard header (BeginString, BodyLength, MsgType, SenderCompID, TargetCompID, MsgSeqNum, SendingTime) and the trailer when the message is sent, so the builder only carries body fields. Fields are encoded in insertion order.
Implementations§
Source§impl OutboundMessage
impl OutboundMessage
Sourcepub fn push_int(&mut self, tag: u32, value: i64) -> &mut Self
pub fn push_int(&mut self, tag: u32, value: i64) -> &mut Self
Appends a field with an integer value.
§Arguments
tag- The field tag numbervalue- The field value
Sourcepub fn push_uint(&mut self, tag: u32, value: u64) -> &mut Self
pub fn push_uint(&mut self, tag: u32, value: u64) -> &mut Self
Appends a field with an unsigned integer value.
§Arguments
tag- The field tag numbervalue- The field value
Sourcepub fn push_char(&mut self, tag: u32, value: char) -> &mut Self
pub fn push_char(&mut self, tag: u32, value: char) -> &mut Self
Appends a field with a single character value.
§Arguments
tag- The field tag numbervalue- The field value
Trait Implementations§
Source§impl Clone for OutboundMessage
impl Clone for OutboundMessage
Source§fn clone(&self) -> OutboundMessage
fn clone(&self) -> OutboundMessage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Freeze for OutboundMessage
impl RefUnwindSafe for OutboundMessage
impl Send for OutboundMessage
impl Sync for OutboundMessage
impl Unpin for OutboundMessage
impl UnsafeUnpin for OutboundMessage
impl UnwindSafe for OutboundMessage
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