[][src]Struct ironoxide::blocking::UserDevice

pub struct UserDevice { /* fields omitted */ }

Metadata about a user device

Methods

impl UserDevice[src]

pub fn id(&self) -> &DeviceId[src]

Get the unique id for the device

pub fn name(&self) -> Option<&DeviceName>[src]

Get the devices optional non-unique readable name

pub fn created(&self) -> &DateTime<Utc>[src]

Get the time the device was created

pub fn last_updated(&self) -> &DateTime<Utc>[src]

Get the time the device was last updated

pub fn is_current_device(&self) -> bool[src]

Determine whether this device instance is the one that was used to make the API request

Trait Implementations

impl Clone for UserDevice[src]

impl Debug for UserDevice[src]

impl Eq for UserDevice[src]

impl Hash for UserDevice[src]

impl PartialEq<UserDevice> for UserDevice[src]

impl StructuralEq for UserDevice[src]

impl StructuralPartialEq for UserDevice[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,