pub struct UpstreamAuth {
pub username: String,
pub password: SecretString,
}Expand description
HTTP Basic credentials for upstream proxy authentication.
Fields§
§username: String§password: SecretStringImplementations§
Trait Implementations§
Source§impl Clone for UpstreamAuth
impl Clone for UpstreamAuth
Source§fn clone(&self) -> UpstreamAuth
fn clone(&self) -> UpstreamAuth
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UpstreamAuth
impl Debug for UpstreamAuth
Source§impl<'de> Deserialize<'de> for UpstreamAuth
impl<'de> Deserialize<'de> for UpstreamAuth
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for UpstreamAuth
impl RefUnwindSafe for UpstreamAuth
impl Send for UpstreamAuth
impl Sync for UpstreamAuth
impl Unpin for UpstreamAuth
impl UnsafeUnpin for UpstreamAuth
impl UnwindSafe for UpstreamAuth
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