Struct quickfix_msg42::Reject

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

Implementations§

source§

impl Reject

source

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

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 Reject

source

pub fn try_new(ref_seq_num: RefSeqNum) -> Result<Self, QuickFixError>

source§

impl Reject

source

pub fn get_ref_seq_num(&self) -> RefSeqNum

source

pub fn get_ref_tag_id(&self) -> Option<RefTagID>

source

pub fn get_ref_msg_type(&self) -> Option<RefMsgType>

source

pub fn get_session_reject_reason(&self) -> Option<SessionRejectReason>

source

pub fn get_text(&self) -> Option<Text>

source

pub fn get_encoded_text_len(&self) -> Option<EncodedTextLen>

source

pub fn get_encoded_text(&self) -> Option<EncodedText>

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

Trait Implementations§

source§

impl Clone for Reject

source§

fn clone(&self) -> Reject

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 Reject

source§

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

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

impl From<Message> for Reject

source§

fn from(input: Message) -> Self

Converts to this type from the input type.
source§

impl From<Reject> for Message

source§

fn from(input: Reject) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl RefUnwindSafe for Reject

§

impl !Send for Reject

§

impl !Sync for Reject

§

impl Unpin for Reject

§

impl UnwindSafe for Reject

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.