pub struct SessionId {
pub begin_string: String,
pub sender_comp_id: String,
pub sender_sub_id: String,
pub sender_location_id: String,
pub target_comp_id: String,
pub target_sub_id: String,
pub target_location_id: String,
pub qualifier: String,
}Fields§
§begin_string: String§sender_comp_id: String§sender_sub_id: String§sender_location_id: String§target_comp_id: String§target_sub_id: String§target_location_id: String§qualifier: StringImplementations§
Source§impl SessionId
impl SessionId
pub fn new( begin_string: &str, sender_comp_id: &str, target_comp_id: &str, ) -> Self
pub fn is_fixt(&self) -> bool
Sourcepub fn reversed(&self) -> Self
pub fn reversed(&self) -> Self
The identity an acceptor derives from an inbound Logon: the peer’s SenderCompID is our TargetCompID and vice versa.
Sourcepub fn file_prefix(&self) -> String
pub fn file_prefix(&self) -> String
Filename prefix for file-based stores/logs:
BeginString-Sender-Target[-Qualifier].
Trait Implementations§
impl Eq for SessionId
impl StructuralPartialEq for SessionId
Auto Trait Implementations§
impl Freeze for SessionId
impl RefUnwindSafe for SessionId
impl Send for SessionId
impl Sync for SessionId
impl Unpin for SessionId
impl UnsafeUnpin for SessionId
impl UnwindSafe for SessionId
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