pub struct Header {
pub msg_type: String,
pub sender_comp_id: String,
pub target_comp_id: String,
pub target_sub_id: Option<String>,
pub sender_sub_id: Option<String>,
pub seq: u64,
pub sending_time: Timestamp,
pub poss_dup: bool,
pub orig_sending_time: Option<Timestamp>,
}Expand description
Standard header of a message, without the begin string and the body length.
Fields§
§msg_type: StringType of the message (35).
sender_comp_id: StringIdentifier of the sender (49).
target_comp_id: StringIdentifier of the receiver (56).
target_sub_id: Option<String>Session qualifier of the receiver (57).
sender_sub_id: Option<String>Session qualifier of the sender (50).
seq: u64Sequence number of the message (34).
sending_time: TimestampTime the message was sent (52).
poss_dup: boolTells whether the message repeats one sent before under the same sequence number (43).
orig_sending_time: Option<Timestamp>Time the repeated message was sent first (122).
Implementations§
Trait Implementations§
impl Eq for Header
impl StructuralPartialEq for Header
Auto Trait Implementations§
impl Forget for Header
impl Freeze for Header
impl Move for Header
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnsafeUnpin for Header
impl UnwindSafe for Header
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