pub enum ThingIdentifiers {
PropertyValue(PropertyValue),
String(String),
}
Expand description
Types permitted for the identifiers
property of a Thing
node.
Variants§
PropertyValue(PropertyValue)
String(String)
Trait Implementations§
Source§impl AsRef<str> for ThingIdentifiers
impl AsRef<str> for ThingIdentifiers
Source§impl Clone for ThingIdentifiers
impl Clone for ThingIdentifiers
Source§fn clone(&self) -> ThingIdentifiers
fn clone(&self) -> ThingIdentifiers
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 ThingIdentifiers
impl Debug for ThingIdentifiers
Source§impl<'de> Deserialize<'de> for ThingIdentifiers
impl<'de> Deserialize<'de> for ThingIdentifiers
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
Auto Trait Implementations§
impl Freeze for ThingIdentifiers
impl RefUnwindSafe for ThingIdentifiers
impl Send for ThingIdentifiers
impl Sync for ThingIdentifiers
impl Unpin for ThingIdentifiers
impl UnwindSafe for ThingIdentifiers
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