pub struct ScramCredentialDeletion { /* private fields */ }Expand description
A SCRAM credential deletion request.
Implementations§
Source§impl ScramCredentialDeletion
impl ScramCredentialDeletion
Sourcepub fn new(
username: impl Into<String>,
mechanism: ScramCredentialMechanism,
) -> Result<Self>
pub fn new( username: impl Into<String>, mechanism: ScramCredentialMechanism, ) -> Result<Self>
Creates a deletion for one user’s SCRAM mechanism.
Sourcepub fn mechanism(&self) -> ScramCredentialMechanism
pub fn mechanism(&self) -> ScramCredentialMechanism
Returns the affected SCRAM mechanism.
Trait Implementations§
Source§impl Clone for ScramCredentialDeletion
impl Clone for ScramCredentialDeletion
Source§fn clone(&self) -> ScramCredentialDeletion
fn clone(&self) -> ScramCredentialDeletion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ScramCredentialDeletion
impl Debug for ScramCredentialDeletion
impl Eq for ScramCredentialDeletion
Source§impl PartialEq for ScramCredentialDeletion
impl PartialEq for ScramCredentialDeletion
impl StructuralPartialEq for ScramCredentialDeletion
Auto Trait Implementations§
impl Freeze for ScramCredentialDeletion
impl RefUnwindSafe for ScramCredentialDeletion
impl Send for ScramCredentialDeletion
impl Sync for ScramCredentialDeletion
impl Unpin for ScramCredentialDeletion
impl UnsafeUnpin for ScramCredentialDeletion
impl UnwindSafe for ScramCredentialDeletion
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