pub struct NetworkSettings {
pub egress_allowlist_enabled: Option<bool>,
pub egress_allowlist: Option<Vec<String>>,
}Fields§
§egress_allowlist_enabled: Option<bool>§egress_allowlist: Option<Vec<String>>Trait Implementations§
Source§impl Clone for NetworkSettings
impl Clone for NetworkSettings
Source§fn clone(&self) -> NetworkSettings
fn clone(&self) -> NetworkSettings
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 NetworkSettings
impl Debug for NetworkSettings
Source§impl Default for NetworkSettings
impl Default for NetworkSettings
Source§fn default() -> NetworkSettings
fn default() -> NetworkSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NetworkSettingswhere
NetworkSettings: Default,
impl<'de> Deserialize<'de> for NetworkSettingswhere
NetworkSettings: Default,
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
Source§impl PartialEq for NetworkSettings
impl PartialEq for NetworkSettings
Source§fn eq(&self, other: &NetworkSettings) -> bool
fn eq(&self, other: &NetworkSettings) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for NetworkSettings
impl Serialize for NetworkSettings
impl StructuralPartialEq for NetworkSettings
Auto Trait Implementations§
impl Freeze for NetworkSettings
impl RefUnwindSafe for NetworkSettings
impl Send for NetworkSettings
impl Sync for NetworkSettings
impl Unpin for NetworkSettings
impl UnsafeUnpin for NetworkSettings
impl UnwindSafe for NetworkSettings
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