pub struct Auth {
pub user: String,
pub pass: String,
}Expand description
A user name and password for the upstream. Debug shows the user only.
Fields§
§user: String§pass: StringTrait Implementations§
impl Eq for Auth
impl StructuralPartialEq for Auth
Auto Trait Implementations§
impl Forget for Auth
impl Freeze for Auth
impl Move for Auth
impl RefUnwindSafe for Auth
impl Send for Authwhere
RawVecInner: Send,
impl Sync for Authwhere
RawVecInner: Sync,
impl Unpin for Auth
impl UnsafeUnpin for Auth
impl UnwindSafe for Authwhere
RawVecInner: UnwindSafe,
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