pub struct DeviceKeyId {
pub install_id: u64,
pub member_id: MemberId,
pub device_scope: String,
}Expand description
Which device a DeviceKeyStore entry belongs to: one install of Sew, one member, one login
lineage (the call credential’s device_scope; a new sign-in is a new scope and enrols a new
device).
Fields§
§install_id: u64Sew’s install id (READY’s, the trust anchors’).
member_id: MemberIdThe member the device is enrolled for.
device_scope: StringThe login lineage (32 hex characters from Sew; sanitized to [A-Za-z0-9_-], at most 64).
Implementations§
Trait Implementations§
Source§impl Clone for DeviceKeyId
impl Clone for DeviceKeyId
Source§impl Debug for DeviceKeyId
impl Debug for DeviceKeyId
impl Eq for DeviceKeyId
Source§impl Hash for DeviceKeyId
impl Hash for DeviceKeyId
Source§impl Ord for DeviceKeyId
impl Ord for DeviceKeyId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for DeviceKeyId
impl PartialEq for DeviceKeyId
Source§impl PartialOrd for DeviceKeyId
impl PartialOrd for DeviceKeyId
impl StructuralPartialEq for DeviceKeyId
Auto Trait Implementations§
impl Forget for DeviceKeyId
impl Freeze for DeviceKeyId
impl Move for DeviceKeyId
impl RefUnwindSafe for DeviceKeyId
impl Send for DeviceKeyId
impl Sync for DeviceKeyId
impl Unpin for DeviceKeyId
impl UnsafeUnpin for DeviceKeyId
impl UnwindSafe for DeviceKeyId
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> CloneAny for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CryptoSafe for T
impl<T> CryptoSafe for T
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
Source§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more