Struct aldrin_core::ServiceUuid
source · #[repr(transparent)]pub struct ServiceUuid(pub Uuid);
Expand description
UUID of a service.
ServiceUuid
s are chosen by the user when creating a service and must be unique among
all services of an object.
Tuple Fields§
§0: Uuid
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ServiceUuid
impl<'arbitrary> Arbitrary<'arbitrary> for ServiceUuid
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 ServiceUuid
impl Clone for ServiceUuid
source§fn clone(&self) -> ServiceUuid
fn clone(&self) -> ServiceUuid
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 ServiceUuid
impl Debug for ServiceUuid
source§impl Default for ServiceUuid
impl Default for ServiceUuid
source§fn default() -> ServiceUuid
fn default() -> ServiceUuid
Returns the “default value” for a type. Read more
source§impl Deserialize for ServiceUuid
impl Deserialize for ServiceUuid
fn deserialize( deserializer: Deserializer<'_, '_>, ) -> Result<Self, DeserializeError>
source§impl Display for ServiceUuid
impl Display for ServiceUuid
source§impl From<ServiceUuid> for Uuid
impl From<ServiceUuid> for Uuid
source§fn from(uuid: ServiceUuid) -> Self
fn from(uuid: ServiceUuid) -> Self
Converts to this type from the input type.
source§impl From<Uuid> for ServiceUuid
impl From<Uuid> for ServiceUuid
source§impl FromStr for ServiceUuid
impl FromStr for ServiceUuid
source§impl Hash for ServiceUuid
impl Hash for ServiceUuid
source§impl Ord for ServiceUuid
impl Ord for ServiceUuid
source§fn cmp(&self, other: &ServiceUuid) -> Ordering
fn cmp(&self, other: &ServiceUuid) -> 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 ServiceUuid
impl PartialEq for ServiceUuid
source§fn eq(&self, other: &ServiceUuid) -> bool
fn eq(&self, other: &ServiceUuid) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ServiceUuid
impl PartialOrd for ServiceUuid
source§fn partial_cmp(&self, other: &ServiceUuid) -> Option<Ordering>
fn partial_cmp(&self, other: &ServiceUuid) -> 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 ServiceUuid
impl Serialize for ServiceUuid
fn serialize(&self, serializer: Serializer<'_>) -> Result<(), SerializeError>
impl Copy for ServiceUuid
impl Eq for ServiceUuid
impl StructuralPartialEq for ServiceUuid
Auto Trait Implementations§
impl Freeze for ServiceUuid
impl RefUnwindSafe for ServiceUuid
impl Send for ServiceUuid
impl Sync for ServiceUuid
impl Unpin for ServiceUuid
impl UnwindSafe for ServiceUuid
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