pub struct SampleIdentityBytes {
pub writer_guid: [u8; 16],
pub sequence_number: u64,
}Expand description
Wire representation of a SampleIdentity (DDS-RPC 1.0 §7.5.1.1.1).
Identical to the layout in zerodds-rpc::common_types::SampleIdentity, but
modeled here as a pure byte helper — zerodds-rtps must not depend on
zerodds-rpc (crate dependency direction).
Fields§
§writer_guid: [u8; 16]16 byte writer-GUID.
sequence_number: u6464-bit sequence number.
Implementations§
Trait Implementations§
Source§impl Clone for SampleIdentityBytes
impl Clone for SampleIdentityBytes
Source§fn clone(&self) -> SampleIdentityBytes
fn clone(&self) -> SampleIdentityBytes
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SampleIdentityBytes
Source§impl Debug for SampleIdentityBytes
impl Debug for SampleIdentityBytes
Source§impl Default for SampleIdentityBytes
impl Default for SampleIdentityBytes
Source§fn default() -> SampleIdentityBytes
fn default() -> SampleIdentityBytes
Returns the “default value” for a type. Read more
impl Eq for SampleIdentityBytes
Source§impl Hash for SampleIdentityBytes
impl Hash for SampleIdentityBytes
Source§impl PartialEq for SampleIdentityBytes
impl PartialEq for SampleIdentityBytes
Source§fn eq(&self, other: &SampleIdentityBytes) -> bool
fn eq(&self, other: &SampleIdentityBytes) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SampleIdentityBytes
Auto Trait Implementations§
impl Freeze for SampleIdentityBytes
impl RefUnwindSafe for SampleIdentityBytes
impl Send for SampleIdentityBytes
impl Sync for SampleIdentityBytes
impl Unpin for SampleIdentityBytes
impl UnsafeUnpin for SampleIdentityBytes
impl UnwindSafe for SampleIdentityBytes
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