#[repr(u8)]pub enum EmergencyAccessStatus {
Invited = 0,
Accepted = 1,
Confirmed = 2,
RecoveryInitiated = 3,
RecoveryApproved = 4,
}Expand description
Where an emergency access is in its lifecycle.
Variants§
Invited = 0
The grantor invited the grantee.
Accepted = 1
The grantee accepted the invite.
Confirmed = 2
The grantor shared their user key with the grantee.
RecoveryInitiated = 3
The grantee requested access and is waiting for approval or the wait time to pass.
RecoveryApproved = 4
Access was granted to the grantee.
Trait Implementations§
Source§impl Clone for EmergencyAccessStatus
impl Clone for EmergencyAccessStatus
Source§fn clone(&self) -> EmergencyAccessStatus
fn clone(&self) -> EmergencyAccessStatus
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 moreimpl Copy for EmergencyAccessStatus
Source§impl Debug for EmergencyAccessStatus
impl Debug for EmergencyAccessStatus
Source§impl<'de> Deserialize<'de> for EmergencyAccessStatus
impl<'de> Deserialize<'de> for EmergencyAccessStatus
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
impl Eq for EmergencyAccessStatus
Source§impl From<EmergencyAccessStatus> for JsValue
impl From<EmergencyAccessStatus> for JsValue
Source§fn from(value: EmergencyAccessStatus) -> Self
fn from(value: EmergencyAccessStatus) -> Self
Converts to this type from the input type.
Source§impl FromWasm for EmergencyAccessStatus
Available on crate feature wasm only.
impl FromWasm for EmergencyAccessStatus
Available on crate feature
wasm only.Source§impl FromWasmAbi for EmergencyAccessStatus
impl FromWasmAbi for EmergencyAccessStatus
Source§impl IntoWasmAbi for EmergencyAccessStatus
impl IntoWasmAbi for EmergencyAccessStatus
Source§impl PartialEq for EmergencyAccessStatus
impl PartialEq for EmergencyAccessStatus
Source§impl Serialize for EmergencyAccessStatus
impl Serialize for EmergencyAccessStatus
impl StructuralPartialEq for EmergencyAccessStatus
Source§impl ToWasm for EmergencyAccessStatus
Available on crate feature wasm only.
impl ToWasm for EmergencyAccessStatus
Available on crate feature
wasm only.Source§impl TryFrom<EmergencyAccessStatusType> for EmergencyAccessStatus
impl TryFrom<EmergencyAccessStatusType> for EmergencyAccessStatus
Source§impl VectorFromWasmAbi for EmergencyAccessStatus
impl VectorFromWasmAbi for EmergencyAccessStatus
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[EmergencyAccessStatus]>
Source§impl VectorIntoWasmAbi for EmergencyAccessStatus
impl VectorIntoWasmAbi for EmergencyAccessStatus
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[EmergencyAccessStatus]>) -> Self::Abi
Source§impl WasmDescribe for EmergencyAccessStatus
impl WasmDescribe for EmergencyAccessStatus
Auto Trait Implementations§
impl Freeze for EmergencyAccessStatus
impl RefUnwindSafe for EmergencyAccessStatus
impl Send for EmergencyAccessStatus
impl Sync for EmergencyAccessStatus
impl Unpin for EmergencyAccessStatus
impl UnsafeUnpin for EmergencyAccessStatus
impl UnwindSafe for EmergencyAccessStatus
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> CompatExt for T
impl<T> CompatExt for T
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T> ⓘ
unsafe fn consume_handle(handle: Handle) -> Arc<T> ⓘ
Consume a handle, getting back the initial
Arc<> Read more§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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 moreimpl<T> Persist for T
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::AbiSource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.