pub struct DeviceTokenRow {
pub token_hash: String,
pub device_name: String,
pub paired_at: String,
pub paired_from_ip: String,
pub revoked_at: Option<String>,
pub pair_event_id: String,
pub revoke_event_id: Option<String>,
}Expand description
A device token row.
Fields§
§token_hash: String§device_name: String§paired_at: String§paired_from_ip: String§revoked_at: Option<String>§pair_event_id: String§revoke_event_id: Option<String>Trait Implementations§
Source§impl Clone for DeviceTokenRow
impl Clone for DeviceTokenRow
Source§fn clone(&self) -> DeviceTokenRow
fn clone(&self) -> DeviceTokenRow
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DeviceTokenRow
impl Debug for DeviceTokenRow
Source§impl<'de> Deserialize<'de> for DeviceTokenRow
impl<'de> Deserialize<'de> for DeviceTokenRow
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 DeviceTokenRow
impl RefUnwindSafe for DeviceTokenRow
impl Send for DeviceTokenRow
impl Sync for DeviceTokenRow
impl Unpin for DeviceTokenRow
impl UnsafeUnpin for DeviceTokenRow
impl UnwindSafe for DeviceTokenRow
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