#[non_exhaustive]pub struct DeleteUserOptions<'a> {
pub username: &'a str,
pub auth_domain: &'a str,
pub on_behalf_of: Option<&'a OnBehalfOfInfo>,
pub retry_strategy: Arc<dyn RetryStrategy>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.username: &'a str§auth_domain: &'a str§on_behalf_of: Option<&'a OnBehalfOfInfo>§retry_strategy: Arc<dyn RetryStrategy>Implementations§
Source§impl<'a> DeleteUserOptions<'a>
impl<'a> DeleteUserOptions<'a>
pub fn new(username: &'a str, auth_domain: &'a str) -> Self
pub fn on_behalf_of(self, on_behalf_of: &'a OnBehalfOfInfo) -> Self
pub fn retry_strategy(self, retry_strategy: Arc<dyn RetryStrategy>) -> Self
Trait Implementations§
Source§impl<'a> Clone for DeleteUserOptions<'a>
impl<'a> Clone for DeleteUserOptions<'a>
Source§fn clone(&self) -> DeleteUserOptions<'a>
fn clone(&self) -> DeleteUserOptions<'a>
Returns a duplicate 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<'a> Debug for DeleteUserOptions<'a>
impl<'a> Debug for DeleteUserOptions<'a>
Source§impl<'a> From<&DeleteUserOptions<'a>> for DeleteUserOptions<'a>
impl<'a> From<&DeleteUserOptions<'a>> for DeleteUserOptions<'a>
Source§fn from(opts: &DeleteUserOptions<'a>) -> Self
fn from(opts: &DeleteUserOptions<'a>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> Freeze for DeleteUserOptions<'a>
impl<'a> !RefUnwindSafe for DeleteUserOptions<'a>
impl<'a> Send for DeleteUserOptions<'a>
impl<'a> Sync for DeleteUserOptions<'a>
impl<'a> Unpin for DeleteUserOptions<'a>
impl<'a> !UnwindSafe for DeleteUserOptions<'a>
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