Struct aldrin_core::ObjectUuid
source · #[repr(transparent)]pub struct ObjectUuid(pub Uuid);
Expand description
UUID of an object.
ObjectUuid
s are chosen by the user when creating an object and must be unique among
all objects on the bus.
Tuple Fields§
§0: Uuid
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ObjectUuid
impl<'arbitrary> Arbitrary<'arbitrary> for ObjectUuid
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ObjectUuid
impl Clone for ObjectUuid
source§fn clone(&self) -> ObjectUuid
fn clone(&self) -> ObjectUuid
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ObjectUuid
impl Debug for ObjectUuid
source§impl Default for ObjectUuid
impl Default for ObjectUuid
source§fn default() -> ObjectUuid
fn default() -> ObjectUuid
Returns the “default value” for a type. Read more
source§impl Deserialize for ObjectUuid
impl Deserialize for ObjectUuid
fn deserialize( deserializer: Deserializer<'_, '_> ) -> Result<Self, DeserializeError>
source§impl Display for ObjectUuid
impl Display for ObjectUuid
source§impl From<ObjectUuid> for BusListenerFilter
impl From<ObjectUuid> for BusListenerFilter
source§fn from(object: ObjectUuid) -> Self
fn from(object: ObjectUuid) -> Self
Converts to this type from the input type.
source§impl From<ObjectUuid> for Uuid
impl From<ObjectUuid> for Uuid
source§fn from(uuid: ObjectUuid) -> Self
fn from(uuid: ObjectUuid) -> Self
Converts to this type from the input type.
source§impl From<Uuid> for ObjectUuid
impl From<Uuid> for ObjectUuid
source§impl FromStr for ObjectUuid
impl FromStr for ObjectUuid
source§impl Hash for ObjectUuid
impl Hash for ObjectUuid
source§impl Ord for ObjectUuid
impl Ord for ObjectUuid
source§fn cmp(&self, other: &ObjectUuid) -> Ordering
fn cmp(&self, other: &ObjectUuid) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ObjectUuid
impl PartialEq for ObjectUuid
source§fn eq(&self, other: &ObjectUuid) -> bool
fn eq(&self, other: &ObjectUuid) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ObjectUuid
impl PartialOrd for ObjectUuid
source§fn partial_cmp(&self, other: &ObjectUuid) -> Option<Ordering>
fn partial_cmp(&self, other: &ObjectUuid) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for ObjectUuid
impl Serialize for ObjectUuid
fn serialize(&self, serializer: Serializer<'_>) -> Result<(), SerializeError>
impl Copy for ObjectUuid
impl Eq for ObjectUuid
impl StructuralPartialEq for ObjectUuid
Auto Trait Implementations§
impl Freeze for ObjectUuid
impl RefUnwindSafe for ObjectUuid
impl Send for ObjectUuid
impl Sync for ObjectUuid
impl Unpin for ObjectUuid
impl UnwindSafe for ObjectUuid
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