#[non_exhaustive]pub struct Proxy {
pub server: Option<String>,
pub port: Option<String>,
pub username: Option<String>,
pub password: Option<Secret>,
}Expand description
The system proxy server settings. The password is read only with the secrets feature.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.server: Option<String>A hostname or IP address.
port: Option<String>§username: Option<String>§password: Option<Secret>None unless the secrets feature is enabled.
Trait Implementations§
impl Eq for Proxy
impl StructuralPartialEq for Proxy
Auto Trait Implementations§
impl Forget for Proxy
impl Freeze for Proxy
impl Move for Proxy
impl RefUnwindSafe for Proxy
impl Send for Proxywhere
RawVecInner: Send,
impl Sync for Proxywhere
RawVecInner: Sync,
impl Unpin for Proxy
impl UnsafeUnpin for Proxy
impl UnwindSafe for Proxywhere
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