pub struct ConsumerAuthConfig {
pub username: String,
pub password: String,
}Expand description
Authentication configuration for the consumer.
Fields§
§username: String§password: StringTrait Implementations§
Source§impl Clone for ConsumerAuthConfig
impl Clone for ConsumerAuthConfig
Source§fn clone(&self) -> ConsumerAuthConfig
fn clone(&self) -> ConsumerAuthConfig
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 moreAuto Trait Implementations§
impl Freeze for ConsumerAuthConfig
impl RefUnwindSafe for ConsumerAuthConfig
impl Send for ConsumerAuthConfig
impl Sync for ConsumerAuthConfig
impl Unpin for ConsumerAuthConfig
impl UnsafeUnpin for ConsumerAuthConfig
impl UnwindSafe for ConsumerAuthConfig
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