pub struct ThingsId(/* private fields */);Expand description
A Things 3 entity identifier.
Internally stored as canonical 16 bytes (SHA1-truncated UUID digest). Hyphenated UUIDs and compact base58 IDs are accepted at parse-time.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ThingsId
impl<'de> Deserialize<'de> for ThingsId
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for ThingsId
impl Ord for ThingsId
Source§impl PartialOrd for ThingsId
impl PartialOrd for ThingsId
impl Eq for ThingsId
impl StructuralPartialEq for ThingsId
Auto Trait Implementations§
impl Freeze for ThingsId
impl RefUnwindSafe for ThingsId
impl Send for ThingsId
impl Sync for ThingsId
impl Unpin for ThingsId
impl UnsafeUnpin for ThingsId
impl UnwindSafe for ThingsId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<I> IntoResettable<String> for I
impl<I> IntoResettable<String> for I
Source§fn into_resettable(self) -> Resettable<String>
fn into_resettable(self) -> Resettable<String>
Convert to the intended resettable type
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.