pub struct Header {
pub version: ProtocolVersion,
pub vendor_id: VendorId,
pub guid_prefix: GuidPrefix,
}Expand description
The fixed 20-octet header at the start of every message (9.4.4).
Fields§
§version: ProtocolVersionThe protocol version of the sender.
vendor_id: VendorIdThe vendor of the sender.
guid_prefix: GuidPrefixThe participant of the sender; the default prefix for the GUIDs in the message.
Implementations§
Trait Implementations§
impl Copy for Header
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