pub struct UserResponse { /* private fields */ }
Implementations§
Source§impl UserResponse
impl UserResponse
pub const MSG_TYPE_BYTES: &'static str = "BF"
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 UserResponse
impl UserResponse
pub fn try_new( user_request_id: UserRequestID, username: Username, ) -> Result<Self, QuickFixError>
Source§impl UserResponse
impl UserResponse
pub fn get_user_request_id(&self) -> UserRequestID
pub fn get_username(&self) -> Username
pub fn get_user_status(&self) -> Option<UserStatus>
pub fn get_user_status_text(&self) -> Option<UserStatusText>
pub fn set_user_request_id( &mut self, value: UserRequestID, ) -> Result<&Self, QuickFixError>
pub fn set_username(&mut self, value: Username) -> Result<&Self, QuickFixError>
pub fn set_user_status( &mut self, value: UserStatus, ) -> Result<&Self, QuickFixError>
pub fn remove_user_status(&mut self) -> Result<&Self, QuickFixError>
pub fn set_user_status_text( &mut self, value: UserStatusText, ) -> Result<&Self, QuickFixError>
pub fn remove_user_status_text(&mut self) -> Result<&Self, QuickFixError>
Trait Implementations§
Source§impl Clone for UserResponse
impl Clone for UserResponse
Source§fn clone(&self) -> UserResponse
fn clone(&self) -> UserResponse
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 UserResponse
impl Debug for UserResponse
Source§impl From<Message> for UserResponse
impl From<Message> for UserResponse
Source§impl From<UserResponse> for Message
impl From<UserResponse> for Message
Source§fn from(input: UserResponse) -> Self
fn from(input: UserResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UserResponse
impl RefUnwindSafe for UserResponse
impl !Send for UserResponse
impl !Sync for UserResponse
impl Unpin for UserResponse
impl UnwindSafe for UserResponse
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