pub struct Email { /* private fields */ }
Implementations§
Source§impl Email
impl Email
pub const MSG_TYPE_BYTES: &'static str = "C"
pub const MSG_TYPE: MsgType
pub fn header(&mut self) -> Header<'_>
pub fn header_mut(&mut self) -> HeaderMut<'_>
pub fn trailer(&mut self) -> Trailer<'_>
pub fn trailer_mut(&mut self) -> TrailerMut<'_>
Sourcepub fn to_fix_string(&self) -> String
pub fn to_fix_string(&self) -> String
Convert inner message as FIX text.
This method is only here for debug / tests purposes. Do not use this in real production code.
Source§impl Email
impl Email
pub fn try_new( email_type: EmailType, lines_of_text: LinesOfText, text: Text, ) -> Result<Self, QuickFixError>
Source§impl Email
impl Email
pub fn get_email_type(&self) -> EmailType
pub fn get_orig_time(&self) -> Option<OrigTime>
pub fn get_relatd_sym(&self) -> Option<RelatdSym>
pub fn get_order_id(&self) -> Option<OrderID>
pub fn get_cl_ord_id(&self) -> Option<ClOrdID>
pub fn get_lines_of_text(&self) -> LinesOfText
pub fn get_text(&self) -> Text
pub fn get_raw_data_length(&self) -> Option<RawDataLength>
pub fn get_raw_data(&self) -> Option<RawData>
pub fn set_email_type( &mut self, value: EmailType, ) -> Result<&Self, QuickFixError>
pub fn set_orig_time(&mut self, value: OrigTime) -> Result<&Self, QuickFixError>
pub fn remove_orig_time(&mut self) -> Result<&Self, QuickFixError>
pub fn set_relatd_sym( &mut self, value: RelatdSym, ) -> Result<&Self, QuickFixError>
pub fn remove_relatd_sym(&mut self) -> Result<&Self, QuickFixError>
pub fn set_order_id(&mut self, value: OrderID) -> Result<&Self, QuickFixError>
pub fn remove_order_id(&mut self) -> Result<&Self, QuickFixError>
pub fn set_cl_ord_id(&mut self, value: ClOrdID) -> Result<&Self, QuickFixError>
pub fn remove_cl_ord_id(&mut self) -> Result<&Self, QuickFixError>
pub fn set_lines_of_text( &mut self, value: LinesOfText, ) -> Result<&Self, QuickFixError>
pub fn set_text(&mut self, value: Text) -> Result<&Self, QuickFixError>
pub fn set_raw_data_length( &mut self, value: RawDataLength, ) -> Result<&Self, QuickFixError>
pub fn remove_raw_data_length(&mut self) -> Result<&Self, QuickFixError>
pub fn set_raw_data(&mut self, value: RawData) -> Result<&Self, QuickFixError>
pub fn remove_raw_data(&mut self) -> Result<&Self, QuickFixError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Email
impl RefUnwindSafe for Email
impl !Send for Email
impl !Sync for Email
impl Unpin for Email
impl UnwindSafe for Email
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