pub struct Upstream {
pub kind: Kind,
pub host: String,
pub port: u16,
pub auth: Option<Auth>,
}Expand description
An upstream proxy to chain through (the user’s own HTTPS_PROXY or ALL_PROXY).
Fields§
§kind: Kind§host: String§port: u16§auth: Option<Auth>Implementations§
Trait Implementations§
impl Eq for Upstream
impl StructuralPartialEq for Upstream
Auto Trait Implementations§
impl Forget for Upstream
impl Freeze for Upstream
impl Move for Upstream
impl RefUnwindSafe for Upstream
impl Send for Upstreamwhere
RawVecInner: Send,
impl Sync for Upstreamwhere
RawVecInner: Sync,
impl Unpin for Upstream
impl UnsafeUnpin for Upstream
impl UnwindSafe for Upstreamwhere
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