pub struct TestRequest { /* private fields */ }
Implementations§
Source§impl TestRequest
impl TestRequest
pub const MSG_TYPE_BYTES: &'static str = "1"
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 TestRequest
impl TestRequest
pub fn try_new(test_req_id: TestReqID) -> Result<Self, QuickFixError>
Source§impl TestRequest
impl TestRequest
pub fn get_test_req_id(&self) -> TestReqID
pub fn set_test_req_id( &mut self, value: TestReqID, ) -> Result<&Self, QuickFixError>
Trait Implementations§
Source§impl Clone for TestRequest
impl Clone for TestRequest
Source§fn clone(&self) -> TestRequest
fn clone(&self) -> TestRequest
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TestRequest
impl Debug for TestRequest
Source§impl From<Message> for TestRequest
impl From<Message> for TestRequest
Source§impl From<TestRequest> for Message
impl From<TestRequest> for Message
Source§fn from(input: TestRequest) -> Self
fn from(input: TestRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TestRequest
impl RefUnwindSafe for TestRequest
impl !Send for TestRequest
impl !Sync for TestRequest
impl Unpin for TestRequest
impl UnwindSafe for TestRequest
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