pub struct NetworkProxyConstraints {
pub enabled: Option<bool>,
pub mode: Option<NetworkMode>,
pub allow_upstream_proxy: Option<bool>,
pub dangerously_allow_non_loopback_proxy: Option<bool>,
pub dangerously_allow_all_unix_sockets: Option<bool>,
pub allowed_domains: Option<Vec<String>>,
pub allowlist_expansion_enabled: Option<bool>,
pub denied_domains: Option<Vec<String>>,
pub denylist_expansion_enabled: Option<bool>,
pub allow_unix_sockets: Option<Vec<String>>,
pub allow_local_binding: Option<bool>,
}Fields§
§enabled: Option<bool>§mode: Option<NetworkMode>§allow_upstream_proxy: Option<bool>§dangerously_allow_non_loopback_proxy: Option<bool>§dangerously_allow_all_unix_sockets: Option<bool>§allowed_domains: Option<Vec<String>>§allowlist_expansion_enabled: Option<bool>§denied_domains: Option<Vec<String>>§denylist_expansion_enabled: Option<bool>§allow_unix_sockets: Option<Vec<String>>§allow_local_binding: Option<bool>Trait Implementations§
Source§impl Clone for NetworkProxyConstraints
impl Clone for NetworkProxyConstraints
Source§fn clone(&self) -> NetworkProxyConstraints
fn clone(&self) -> NetworkProxyConstraints
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 moreSource§impl Debug for NetworkProxyConstraints
impl Debug for NetworkProxyConstraints
Source§impl Default for NetworkProxyConstraints
impl Default for NetworkProxyConstraints
Source§fn default() -> NetworkProxyConstraints
fn default() -> NetworkProxyConstraints
Returns the “default value” for a type. Read more
Source§impl PartialEq for NetworkProxyConstraints
impl PartialEq for NetworkProxyConstraints
impl Eq for NetworkProxyConstraints
impl StructuralPartialEq for NetworkProxyConstraints
Auto Trait Implementations§
impl Freeze for NetworkProxyConstraints
impl RefUnwindSafe for NetworkProxyConstraints
impl Send for NetworkProxyConstraints
impl Sync for NetworkProxyConstraints
impl Unpin for NetworkProxyConstraints
impl UnsafeUnpin for NetworkProxyConstraints
impl UnwindSafe for NetworkProxyConstraints
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more