Struct ironoxide::user::UserCreateOpts
source · pub struct UserCreateOpts { /* private fields */ }
Expand description
Options for user creation.
Default values are provided with UserCreateOpts::default()
Implementations§
source§impl UserCreateOpts
impl UserCreateOpts
sourcepub fn new(needs_rotation: bool) -> UserCreateOpts
pub fn new(needs_rotation: bool) -> UserCreateOpts
Arguments
needs_rotation
-true
if the private key for this user marked for rotation
Trait Implementations§
source§impl Clone for UserCreateOpts
impl Clone for UserCreateOpts
source§fn clone(&self) -> UserCreateOpts
fn clone(&self) -> UserCreateOpts
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UserCreateOpts
impl Debug for UserCreateOpts
source§impl Default for UserCreateOpts
impl Default for UserCreateOpts
source§impl Hash for UserCreateOpts
impl Hash for UserCreateOpts
source§impl PartialEq for UserCreateOpts
impl PartialEq for UserCreateOpts
source§fn eq(&self, other: &UserCreateOpts) -> bool
fn eq(&self, other: &UserCreateOpts) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for UserCreateOpts
impl StructuralEq for UserCreateOpts
impl StructuralPartialEq for UserCreateOpts
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§
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§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> InitializableFromZeroed for Twhere
T: Default,
impl<T> InitializableFromZeroed for Twhere T: Default,
§unsafe fn initialize(place: *mut T)
unsafe fn initialize(place: *mut T)
Called to initialize a place to a valid value, after it is set
to all-bits-zero. Read more