pub struct KeyConnectorRegistrationResult {
pub account_cryptographic_state: WrappedAccountCryptographicState,
pub key_connector_key: B64,
pub key_connector_key_wrapped_user_key: EncString,
pub user_key: B64,
}Expand description
Result of Key Connector registration process.
Fields§
§account_cryptographic_state: WrappedAccountCryptographicStateThe account cryptographic state of the user.
key_connector_key: B64The key connector key used for unlocking.
key_connector_key_wrapped_user_key: EncStringThe encrypted user key, wrapped with the key connector key.
user_key: B64The decrypted user key. This can be used to get the consuming client to an unlocked state.
Trait Implementations§
Source§impl Clone for KeyConnectorRegistrationResult
impl Clone for KeyConnectorRegistrationResult
Source§fn clone(&self) -> KeyConnectorRegistrationResult
fn clone(&self) -> KeyConnectorRegistrationResult
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<'de> Deserialize<'de> for KeyConnectorRegistrationResult
impl<'de> Deserialize<'de> for KeyConnectorRegistrationResult
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 KeyConnectorRegistrationResult
impl RefUnwindSafe for KeyConnectorRegistrationResult
impl Send for KeyConnectorRegistrationResult
impl Sync for KeyConnectorRegistrationResult
impl Unpin for KeyConnectorRegistrationResult
impl UnsafeUnpin for KeyConnectorRegistrationResult
impl UnwindSafe for KeyConnectorRegistrationResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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