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_thread_id: EmailThreadID, email_type: EmailType, subject: Subject, ) -> Result<Self, QuickFixError>
Source§impl Email
impl Email
pub fn get_email_thread_id(&self) -> EmailThreadID
pub fn get_email_type(&self) -> EmailType
pub fn get_orig_time(&self) -> Option<OrigTime>
pub fn get_subject(&self) -> Subject
pub fn get_encoded_subject_len(&self) -> Option<EncodedSubjectLen>
pub fn get_encoded_subject(&self) -> Option<EncodedSubject>
pub fn no_routing_i_ds_len(&self) -> usize
pub fn clone_group_no_routing_i_ds(&self, index: usize) -> Option<NoRoutingIDs>
pub fn iter_no_routing_i_ds(&self) -> GroupIterator<'_, Self, NoRoutingIDs> ⓘ
pub fn get_order_id(&self) -> Option<OrderID>
pub fn get_cl_ord_id(&self) -> Option<ClOrdID>
pub fn lines_of_text_len(&self) -> usize
pub fn clone_group_lines_of_text(&self, index: usize) -> Option<LinesOfText>
pub fn iter_lines_of_text(&self) -> GroupIterator<'_, Self, LinesOfText> ⓘ
pub fn get_raw_data_length(&self) -> Option<RawDataLength>
pub fn get_raw_data(&self) -> Option<RawData>
pub fn set_email_thread_id( &mut self, value: EmailThreadID, ) -> Result<&Self, QuickFixError>
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_subject(&mut self, value: Subject) -> Result<&Self, QuickFixError>
pub fn set_encoded_subject_len( &mut self, value: EncodedSubjectLen, ) -> Result<&Self, QuickFixError>
pub fn remove_encoded_subject_len(&mut self) -> Result<&Self, QuickFixError>
pub fn set_encoded_subject( &mut self, value: EncodedSubject, ) -> Result<&Self, QuickFixError>
pub fn remove_encoded_subject(&mut self) -> Result<&Self, QuickFixError>
pub fn add_no_routing_i_ds( &mut self, value: NoRoutingIDs, ) -> 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 add_lines_of_text( &mut self, value: LinesOfText, ) -> 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