Struct ironoxide::user::DeviceId [−][src]
pub struct DeviceId(_);
Expand description
ID of a device.
The ID can be validated from a u64
using DeviceId::try_from
.
Requirements
- Must be greater than 0.
- Must be less than or equal to
i64::max_value()
.
Implementations
Trait Implementations
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 RefUnwindSafe for DeviceId
impl UnwindSafe for DeviceId
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V