Struct ruma_identifiers::DeviceId [−][src]
#[repr(transparent)]pub struct DeviceId(_);
Expand description
A Matrix key ID.
Device identifiers in Matrix are completely opaque character sequences. This type is provided simply for its semantic value.
Implementations
Trait Implementations
impl Ord for DeviceId[src]
impl Ord for DeviceId[src]impl PartialOrd<DeviceId> for DeviceId[src]
impl PartialOrd<DeviceId> for DeviceId[src]fn partial_cmp(&self, other: &Self) -> Option<Ordering>[src]
fn partial_cmp(&self, other: &Self) -> Option<Ordering>[src]This method returns an ordering between self and other values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool1.0.0[src]This method tests less than (for self and other) and is used by the < operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool1.0.0[src]This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
impl ToOwned for DeviceId[src]
impl ToOwned for DeviceId[src]fn to_owned(&self) -> Self::Owned[src]
fn to_owned(&self) -> Self::Owned[src]Creates owned data from borrowed data, usually by cloning. Read more
fn clone_into(&self, target: &mut Self::Owned)[src]
fn clone_into(&self, target: &mut Self::Owned)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more