pub struct DeviceRecord {
pub id: String,
pub client_id: String,
pub auth_app_id: String,
pub user_id: String,
pub fingerprint: String,
pub device_info: String,
pub last_active_time: i64,
pub status: i32,
pub created_time: i64,
pub updated_time: i64,
}Expand description
设备记录(user 维度:PAT 流程下设备绑定到用户)。
Fields§
§id: String§client_id: String旧 SDK/HMAC 流程的占位字段(PAT 流程下为空串)
auth_app_id: String§user_id: StringPAT 所属用户
fingerprint: String§device_info: String§last_active_time: i64§status: i32§created_time: i64§updated_time: i64Trait Implementations§
Source§impl Clone for DeviceRecord
impl Clone for DeviceRecord
Source§fn clone(&self) -> DeviceRecord
fn clone(&self) -> DeviceRecord
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 DeviceRecord
impl Debug for DeviceRecord
Source§impl<'de> Deserialize<'de> for DeviceRecord
impl<'de> Deserialize<'de> for DeviceRecord
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 DeviceRecord
impl RefUnwindSafe for DeviceRecord
impl Send for DeviceRecord
impl Sync for DeviceRecord
impl Unpin for DeviceRecord
impl UnsafeUnpin for DeviceRecord
impl UnwindSafe for DeviceRecord
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