pub struct ResendRequest {
pub message: Message,
}Expand description
ResendRequest is the fix40 ResendRequest type, MsgType = 2.
Fields§
§message: MessageImplementations§
Source§impl ResendRequest
impl ResendRequest
Sourcepub fn new(begin_seq_no: BeginSeqNoField, end_seq_no: EndSeqNoField) -> Self
pub fn new(begin_seq_no: BeginSeqNoField, end_seq_no: EndSeqNoField) -> Self
Creates a new ResendRequest with required fields.
Sourcepub fn from_message(msg: Message) -> Self
pub fn from_message(msg: Message) -> Self
Creates a ResendRequest from an existing Message.
Sourcepub fn to_message(self) -> Message
pub fn to_message(self) -> Message
Returns the underlying Message.
Sourcepub fn set_begin_seq_no(&mut self, v: isize)
pub fn set_begin_seq_no(&mut self, v: isize)
Sets BeginSeqNo, Tag 7.
Sourcepub fn get_begin_seq_no(&self) -> Result<isize, MessageRejectErrorEnum>
pub fn get_begin_seq_no(&self) -> Result<isize, MessageRejectErrorEnum>
Gets BeginSeqNo, Tag 7.
Sourcepub fn has_begin_seq_no(&self) -> bool
pub fn has_begin_seq_no(&self) -> bool
Returns true if BeginSeqNo is present, Tag 7.
Sourcepub fn set_end_seq_no(&mut self, v: isize)
pub fn set_end_seq_no(&mut self, v: isize)
Sets EndSeqNo, Tag 16.
Sourcepub fn get_end_seq_no(&self) -> Result<isize, MessageRejectErrorEnum>
pub fn get_end_seq_no(&self) -> Result<isize, MessageRejectErrorEnum>
Gets EndSeqNo, Tag 16.
Sourcepub fn has_end_seq_no(&self) -> bool
pub fn has_end_seq_no(&self) -> bool
Returns true if EndSeqNo is present, Tag 16.
Auto Trait Implementations§
impl Freeze for ResendRequest
impl RefUnwindSafe for ResendRequest
impl Send for ResendRequest
impl Sync for ResendRequest
impl Unpin for ResendRequest
impl UnsafeUnpin for ResendRequest
impl UnwindSafe for ResendRequest
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