Struct rustdds::dds::data_types::GUID[][src]

pub struct GUID {
    pub guidPrefix: GuidPrefix,
    pub entityId: EntityId,
}

DDS/RTPS GUID

Fields

guidPrefix: GuidPrefixentityId: EntityId

Implementations

impl GUID[src]

pub const GUID_UNKNOWN: GUID[src]

pub fn new(prefix: GuidPrefix, entity_id: EntityId) -> GUID[src]

pub fn new_particiapnt_guid() -> GUID[src]

Generates new GUID for Participant when guidPrefix is random

pub fn dummy_test_guid(entity_kind: EntityKind) -> GUID[src]

pub fn from_prefix(self, entity_id: EntityId) -> GUID[src]

Generates GUID for specific entityId from current prefix

pub fn new_with_prefix_and_id(prefix: GuidPrefix, entity_id: EntityId) -> GUID[src]

Creates GUID from known values

pub fn as_usize(&self) -> usize[src]

Trait Implementations

impl Clone for GUID[src]

impl Copy for GUID[src]

impl Debug for GUID[src]

impl Default for GUID[src]

impl<'de> Deserialize<'de> for GUID[src]

impl Eq for GUID[src]

impl Hash for GUID[src]

impl Key for GUID[src]

impl Ord for GUID[src]

impl PartialEq<GUID> for GUID[src]

impl PartialOrd<GUID> for GUID[src]

impl<'a_, C_: Context> Readable<'a_, C_> for GUID[src]

impl Serialize for GUID[src]

impl StructuralEq for GUID[src]

impl StructuralPartialEq for GUID[src]

impl<C_: Context> Writable<C_> for GUID[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,