pub struct News { /* private fields */ }
Implementations§
Source§impl News
impl News
pub const MSG_TYPE_BYTES: &'static str = "B"
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 News
impl News
pub fn try_new( lines_of_text: LinesOfText, text: Text, ) -> Result<Self, QuickFixError>
Source§impl News
impl News
pub fn get_orig_time(&self) -> Option<OrigTime>
pub fn get_urgency(&self) -> Option<Urgency>
pub fn get_relatd_sym(&self) -> Option<RelatdSym>
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_orig_time(&mut self, value: OrigTime) -> Result<&Self, QuickFixError>
pub fn remove_orig_time(&mut self) -> Result<&Self, QuickFixError>
pub fn set_urgency(&mut self, value: Urgency) -> Result<&Self, QuickFixError>
pub fn remove_urgency(&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_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 News
impl RefUnwindSafe for News
impl !Send for News
impl !Sync for News
impl Unpin for News
impl UnwindSafe for News
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