pub struct ParsedAuth {
pub username: String,
pub password: String,
}Expand description
Represents authentication information parsed from a URL
Fields§
§username: StringThe username portion of the authentication (e.g. “admin”)
password: StringThe password portion of the authentication (e.g. “secret123”)
Trait Implementations§
Source§impl Clone for ParsedAuth
impl Clone for ParsedAuth
Source§fn clone(&self) -> ParsedAuth
fn clone(&self) -> ParsedAuth
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 ParsedAuth
impl RefUnwindSafe for ParsedAuth
impl Send for ParsedAuth
impl Sync for ParsedAuth
impl Unpin for ParsedAuth
impl UnwindSafe for ParsedAuth
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