#[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§fn size_hint(depth: usize) -> (usize, Option<usize>)
fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an
Unstructured
this type
needs to construct itself. Read moreSource§fn try_size_hint(
depth: usize,
) -> Result<(usize, Option<usize>), MaxRecursionReached>
fn try_size_hint( depth: usize, ) -> Result<(usize, Option<usize>), MaxRecursionReached>
Get a size hint for how many bytes out of an
Unstructured
this type
needs to construct itself. Read moreSource§impl AsSerializeArg for ObjectUuid
impl AsSerializeArg for ObjectUuid
type SerializeArg<'a> = ObjectUuid
fn as_serialize_arg<'a>(&'a self) -> Self::SerializeArg<'a>where
Self: 'a,
Source§impl Clone for ObjectUuid
impl Clone for ObjectUuid
Source§fn clone(&self) -> ObjectUuid
fn clone(&self) -> ObjectUuid
Returns a duplicate 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<'de> Deserialize<'de> for ObjectUuid
impl<'de> Deserialize<'de> for ObjectUuid
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Deserialize for ObjectUuid
impl Deserialize for ObjectUuid
fn deserialize( deserializer: Deserializer<'_, '_>, ) -> Result<Self, DeserializeError>
Source§impl DeserializeKey for ObjectUuid
impl DeserializeKey for ObjectUuid
type Impl = Uuid
fn try_from_impl(key: Self::Impl) -> 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 Introspectable for ObjectUuid
impl Introspectable for ObjectUuid
fn layout() -> Layout
fn lexical_id() -> LexicalId
fn add_references(_references: &mut References<'_>)
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§impl PartialOrd for ObjectUuid
impl PartialOrd for ObjectUuid
Source§impl Serialize for ObjectUuid
impl Serialize for ObjectUuid
Source§impl Serialize for ObjectUuid
impl Serialize for ObjectUuid
fn serialize(&self, serializer: Serializer<'_>) -> Result<(), SerializeError>
Source§impl SerializeKey for ObjectUuid
impl SerializeKey for ObjectUuid
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