pub struct InstallId {
pub schema_version: u32,
pub install_id: String,
pub rotated_at: String,
}Expand description
The on-disk install identity.
Fields§
§schema_version: u32Format version of this file.
install_id: StringA random v4 UUID.
Never derived from hostname, MAC, machine-id, $HOME, username, or
executable path. A derived id is a device fingerprint: it survives
reinstall and re-identifies a user across their own opt-out, which is the
single thing an install id must never do.
rotated_at: StringWhen this id was minted, RFC3339 UTC.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for InstallId
impl<'de> Deserialize<'de> for InstallId
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 InstallId
impl RefUnwindSafe for InstallId
impl Send for InstallId
impl Sync for InstallId
impl Unpin for InstallId
impl UnsafeUnpin for InstallId
impl UnwindSafe for InstallId
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