pub struct Upstream {
pub host: String,
pub port: u16,
}Expand description
An upstream HTTP proxy to chain through (the user’s own HTTPS_PROXY).
Fields§
§host: String§port: u16Implementations§
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