pub enum EnvironmentNetwork {
Allowlist(EnvironmentNetworkEgressAllowlist),
Disabled(String),
}Expand description
Network configuration — can be an allowlist object or “disabled” string.
Variants§
Allowlist(EnvironmentNetworkEgressAllowlist)
Disabled(String)
Trait Implementations§
Source§impl Clone for EnvironmentNetwork
impl Clone for EnvironmentNetwork
Source§fn clone(&self) -> EnvironmentNetwork
fn clone(&self) -> EnvironmentNetwork
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 EnvironmentNetwork
impl Debug for EnvironmentNetwork
Source§impl<'de> Deserialize<'de> for EnvironmentNetwork
impl<'de> Deserialize<'de> for EnvironmentNetwork
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 EnvironmentNetwork
impl PartialEq for EnvironmentNetwork
Source§impl Serialize for EnvironmentNetwork
impl Serialize for EnvironmentNetwork
impl StructuralPartialEq for EnvironmentNetwork
Auto Trait Implementations§
impl Freeze for EnvironmentNetwork
impl RefUnwindSafe for EnvironmentNetwork
impl Send for EnvironmentNetwork
impl Sync for EnvironmentNetwork
impl Unpin for EnvironmentNetwork
impl UnsafeUnpin for EnvironmentNetwork
impl UnwindSafe for EnvironmentNetwork
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