pub struct UserRequest { /* private fields */ }
Implementations§
Source§impl UserRequest
impl UserRequest
pub const MSG_TYPE_BYTES: &'static str = "BE"
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 UserRequest
impl UserRequest
pub fn try_new( user_request_id: UserRequestID, user_request_type: UserRequestType, username: Username, ) -> Result<Self, QuickFixError>
Source§impl UserRequest
impl UserRequest
pub fn get_user_request_id(&self) -> UserRequestID
pub fn get_user_request_type(&self) -> UserRequestType
pub fn get_username(&self) -> Username
pub fn get_password(&self) -> Option<Password>
pub fn get_new_password(&self) -> Option<NewPassword>
pub fn get_raw_data_length(&self) -> Option<RawDataLength>
pub fn get_raw_data(&self) -> Option<RawData>
pub fn set_user_request_id( &mut self, value: UserRequestID, ) -> Result<&Self, QuickFixError>
pub fn set_user_request_type( &mut self, value: UserRequestType, ) -> Result<&Self, QuickFixError>
pub fn set_username(&mut self, value: Username) -> Result<&Self, QuickFixError>
pub fn set_password(&mut self, value: Password) -> Result<&Self, QuickFixError>
pub fn remove_password(&mut self) -> Result<&Self, QuickFixError>
pub fn set_new_password( &mut self, value: NewPassword, ) -> Result<&Self, QuickFixError>
pub fn remove_new_password(&mut self) -> 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§
Source§impl Clone for UserRequest
impl Clone for UserRequest
Source§fn clone(&self) -> UserRequest
fn clone(&self) -> UserRequest
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 UserRequest
impl Debug for UserRequest
Source§impl From<Message> for UserRequest
impl From<Message> for UserRequest
Source§impl From<UserRequest> for Message
impl From<UserRequest> for Message
Source§fn from(input: UserRequest) -> Self
fn from(input: UserRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UserRequest
impl RefUnwindSafe for UserRequest
impl !Send for UserRequest
impl !Sync for UserRequest
impl Unpin for UserRequest
impl UnwindSafe for UserRequest
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