pub struct UserScramCredentialDeletion { /* private fields */ }Expand description
A request to delete a SASL/SCRAM credential for a user.
Implementations§
Source§impl UserScramCredentialDeletion
impl UserScramCredentialDeletion
Sourcepub fn new(user: impl Into<String>, mechanism: ScramMechanism) -> Self
pub fn new(user: impl Into<String>, mechanism: ScramMechanism) -> Self
Creates a new deletion.
user— the mandatory usermechanism— the mandatory mechanism
Sourcepub fn mechanism(&self) -> ScramMechanism
pub fn mechanism(&self) -> ScramMechanism
Returns the always non-null mechanism.
Trait Implementations§
Source§impl Clone for UserScramCredentialDeletion
impl Clone for UserScramCredentialDeletion
Source§fn clone(&self) -> UserScramCredentialDeletion
fn clone(&self) -> UserScramCredentialDeletion
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 Debug for UserScramCredentialDeletion
impl Debug for UserScramCredentialDeletion
Source§impl From<UserScramCredentialDeletion> for UserScramCredentialAlteration
impl From<UserScramCredentialDeletion> for UserScramCredentialAlteration
Source§fn from(deletion: UserScramCredentialDeletion) -> Self
fn from(deletion: UserScramCredentialDeletion) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UserScramCredentialDeletion
impl RefUnwindSafe for UserScramCredentialDeletion
impl Send for UserScramCredentialDeletion
impl Sync for UserScramCredentialDeletion
impl Unpin for UserScramCredentialDeletion
impl UnsafeUnpin for UserScramCredentialDeletion
impl UnwindSafe for UserScramCredentialDeletion
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