pub struct ClientCredentials<'a> {
pub username: &'a str,
pub password: &'a str,
}Expand description
Credentials used to connecto to the broker
Fields§
§username: &'a str§password: &'a strImplementations§
Trait Implementations§
Source§impl<'a> Clone for ClientCredentials<'a>
impl<'a> Clone for ClientCredentials<'a>
Source§fn clone(&self) -> ClientCredentials<'a>
fn clone(&self) -> ClientCredentials<'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 moreAuto Trait Implementations§
impl<'a> Freeze for ClientCredentials<'a>
impl<'a> RefUnwindSafe for ClientCredentials<'a>
impl<'a> Send for ClientCredentials<'a>
impl<'a> Sync for ClientCredentials<'a>
impl<'a> Unpin for ClientCredentials<'a>
impl<'a> UnwindSafe for ClientCredentials<'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