pub struct DefinitionIdentifier(pub SmolStr);Expand description
Reference to a Vorto / W3C-WoT Thing-Description definition.
Stored verbatim; the SDK never resolves it.
Tuple Fields§
§0: SmolStrImplementations§
Trait Implementations§
Source§impl Clone for DefinitionIdentifier
impl Clone for DefinitionIdentifier
Source§fn clone(&self) -> DefinitionIdentifier
fn clone(&self) -> DefinitionIdentifier
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DefinitionIdentifier
impl Debug for DefinitionIdentifier
Source§impl<'de> Deserialize<'de> for DefinitionIdentifier
impl<'de> Deserialize<'de> for DefinitionIdentifier
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
impl Eq for DefinitionIdentifier
Source§impl Hash for DefinitionIdentifier
impl Hash for DefinitionIdentifier
Source§impl Ord for DefinitionIdentifier
impl Ord for DefinitionIdentifier
Source§fn cmp(&self, other: &DefinitionIdentifier) -> Ordering
fn cmp(&self, other: &DefinitionIdentifier) -> Ordering
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for DefinitionIdentifier
impl PartialEq for DefinitionIdentifier
Source§impl PartialOrd for DefinitionIdentifier
impl PartialOrd for DefinitionIdentifier
Source§impl Serialize for DefinitionIdentifier
impl Serialize for DefinitionIdentifier
impl StructuralPartialEq for DefinitionIdentifier
Auto Trait Implementations§
impl Freeze for DefinitionIdentifier
impl RefUnwindSafe for DefinitionIdentifier
impl Send for DefinitionIdentifier
impl Sync for DefinitionIdentifier
impl Unpin for DefinitionIdentifier
impl UnsafeUnpin for DefinitionIdentifier
impl UnwindSafe for DefinitionIdentifier
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