[−][src]Struct ironoxide::user::UserCreateOpts
Options that can be specified at when calling user_create
.
Methods
impl UserCreateOpts
[src]
pub fn new(needs_rotation: bool) -> UserCreateOpts
[src]
Constructor. Also see default
.
Arguments
needs_rotation
- Set to true if the private key for this user should be rotated when the user "takes control" of their keys.
The main use case for this is a workflow that requires that users and groups to be generated
prior to the user logging in for the first time. In this situation, a user's cryptographic identity
can be generated by a third party, like a server process, and then the user can take control of their
keys by rotating the private key using rotate_private_key
.
Trait Implementations
impl Default for UserCreateOpts
[src]
Auto Trait Implementations
impl RefUnwindSafe for UserCreateOpts
impl Send for UserCreateOpts
impl Sync for UserCreateOpts
impl Unpin for UserCreateOpts
impl UnwindSafe for UserCreateOpts
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Clear for T where
T: InitializableFromZeroed + ?Sized,
T: InitializableFromZeroed + ?Sized,
fn clear(&mut self)
impl<T> From<T> for T
[src]
impl<T> InitializableFromZeroed for T where
T: Default,
T: Default,
unsafe fn initialize(place: *mut T)
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,