Struct quickfix_msg43::News

source ·
pub struct News { /* private fields */ }

Implementations§

source§

impl News

source

pub const MSG_TYPE_BYTES: &'static str = "B"

source

pub const MSG_TYPE: MsgType = _

source

pub fn header(&mut self) -> Header<'_>

source

pub fn header_mut(&mut self) -> HeaderMut<'_>

source

pub fn trailer(&mut self) -> Trailer<'_>

source

pub fn trailer_mut(&mut self) -> TrailerMut<'_>

source

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

source

pub fn try_new(headline: Headline) -> Result<Self, QuickFixError>

source§

impl News

source

pub fn get_orig_time(&self) -> Option<OrigTime>

source

pub fn get_urgency(&self) -> Option<Urgency>

source

pub fn get_headline(&self) -> Headline

source

pub fn get_encoded_headline_len(&self) -> Option<EncodedHeadlineLen>

source

pub fn get_encoded_headline(&self) -> Option<EncodedHeadline>

source

pub fn clone_group_no_routing_i_ds(&self, index: usize) -> Option<NoRoutingIDs>

source

pub fn clone_group_lines_of_text(&self, index: usize) -> Option<LinesOfText>

source

pub fn get_raw_data_length(&self) -> Option<RawDataLength>

source

pub fn get_raw_data(&self) -> Option<RawData>

source

pub fn set_orig_time(&mut self, value: OrigTime) -> Result<&Self, QuickFixError>

source

pub fn remove_orig_time(&mut self) -> Result<&Self, QuickFixError>

source

pub fn set_urgency(&mut self, value: Urgency) -> Result<&Self, QuickFixError>

source

pub fn remove_urgency(&mut self) -> Result<&Self, QuickFixError>

source

pub fn set_headline(&mut self, value: Headline) -> Result<&Self, QuickFixError>

source

pub fn set_encoded_headline_len( &mut self, value: EncodedHeadlineLen ) -> Result<&Self, QuickFixError>

source

pub fn remove_encoded_headline_len(&mut self) -> Result<&Self, QuickFixError>

source

pub fn set_encoded_headline( &mut self, value: EncodedHeadline ) -> Result<&Self, QuickFixError>

source

pub fn remove_encoded_headline(&mut self) -> Result<&Self, QuickFixError>

source

pub fn add_no_routing_i_ds( &mut self, value: NoRoutingIDs ) -> Result<&Self, QuickFixError>

source

pub fn add_lines_of_text( &mut self, value: LinesOfText ) -> Result<&Self, QuickFixError>

source

pub fn set_raw_data_length( &mut self, value: RawDataLength ) -> Result<&Self, QuickFixError>

source

pub fn remove_raw_data_length(&mut self) -> Result<&Self, QuickFixError>

source

pub fn set_raw_data(&mut self, value: RawData) -> Result<&Self, QuickFixError>

source

pub fn remove_raw_data(&mut self) -> Result<&Self, QuickFixError>

Trait Implementations§

source§

impl Clone for News

source§

fn clone(&self) -> News

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for News

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<Message> for News

source§

fn from(input: Message) -> Self

Converts to this type from the input type.
source§

impl From<News> for Message

source§

fn from(input: News) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

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> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.