[][src]Struct ironoxide::user::UserCreateResult

pub struct UserCreateResult { /* fields omitted */ }

Metadata for a newly created user.

Includes the user's public key and whether the user's private key needs rotation.

Result from user_create.

Implementations

impl UserCreateResult[src]

pub fn user_public_key(&self) -> &PublicKey[src]

Public key for the user

For most use cases, this public key can be discarded, as IronCore escrows the user's keys. The escrowed keys are unlocked by the provided password.

pub fn needs_rotation(&self) -> bool[src]

Whether the user's private key needs to be rotated

Trait Implementations

impl Clone for UserCreateResult[src]

impl Debug for UserCreateResult[src]

impl Eq for UserCreateResult[src]

impl Hash for UserCreateResult[src]

impl PartialEq<UserCreateResult> for UserCreateResult[src]

impl StructuralEq for UserCreateResult[src]

impl StructuralPartialEq for UserCreateResult[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,