[−][src]Struct ironoxide::user::UserDevice
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]
fn clone(&self) -> UserDevice
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for UserDevice
[src]
impl PartialEq<UserDevice> for UserDevice
[src]
fn eq(&self, other: &UserDevice) -> bool
[src]
fn ne(&self, other: &UserDevice) -> bool
[src]
impl StructuralPartialEq for UserDevice
[src]
Auto Trait Implementations
impl RefUnwindSafe for UserDevice
impl Send for UserDevice
impl Sync for UserDevice
impl Unpin for UserDevice
impl UnwindSafe for UserDevice
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,