Struct lapin::auth::Credentials [−][src]
pub struct Credentials { /* fields omitted */ }
Expand description
Structure holding the username and password for authentication
Implementations
Create a new Credentials instance with the given username and password
Get the SASL authentication String for the given SASL mechanism
Get the answer we need to give to the server for the RabbitCrDemo mehanism
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for Credentials
impl Send for Credentials
impl Sync for Credentials
impl Unpin for Credentials
impl UnwindSafe for Credentials
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more