pub struct DeviceBinding {
pub version: u32,
pub env: RuntimeEnv,
pub client: DeviceComponentIdentity,
pub host: Option<DeviceComponentIdentity>,
pub generation: String,
pub space: Option<SpaceIdentity>,
}Fields§
§version: u32§env: RuntimeEnv§client: DeviceComponentIdentity§host: Option<DeviceComponentIdentity>§generation: StringReplaced only by factory reset. Credentials and grants must match it.
space: Option<SpaceIdentity>None means initialized locally but not yet bound by the owner.
Implementations§
Trait Implementations§
Source§impl Clone for DeviceBinding
impl Clone for DeviceBinding
Source§impl Debug for DeviceBinding
impl Debug for DeviceBinding
Source§impl<'de> Deserialize<'de> for DeviceBinding
impl<'de> Deserialize<'de> for DeviceBinding
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 DeviceBinding
Source§impl PartialEq for DeviceBinding
impl PartialEq for DeviceBinding
Source§impl Serialize for DeviceBinding
impl Serialize for DeviceBinding
impl StructuralPartialEq for DeviceBinding
Auto Trait Implementations§
impl Forget for DeviceBinding
impl Freeze for DeviceBinding
impl RefUnwindSafe for DeviceBinding
impl Send for DeviceBinding
impl Sync for DeviceBinding
impl Unpin for DeviceBinding
impl UnsafeUnpin for DeviceBinding
impl UnwindSafe for DeviceBinding
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.