pub struct AuthCredential {
pub user: String,
pub passwd: String,
}Expand description
auth credential data
see doc
Fields§
§user: Stringuser name
passwd: Stringpassword
Implementations§
Source§impl AuthCredential
impl AuthCredential
Sourcepub fn config_req(&self, builder: Builder) -> Builder
pub fn config_req(&self, builder: Builder) -> Builder
config request by auth credential
Trait Implementations§
Source§impl Clone for AuthCredential
impl Clone for AuthCredential
Source§fn clone(&self) -> AuthCredential
fn clone(&self) -> AuthCredential
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 AuthCredential
impl RefUnwindSafe for AuthCredential
impl Send for AuthCredential
impl Sync for AuthCredential
impl Unpin for AuthCredential
impl UnwindSafe for AuthCredential
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