pub enum NetworkAccess {
Restricted,
Enabled,
}Expand description
NetworkAccess
JSON schema
{
"type": "string",
"enum": [
"restricted",
"enabled"
]
}Variants§
Trait Implementations§
Source§impl Clone for NetworkAccess
impl Clone for NetworkAccess
Source§fn clone(&self) -> NetworkAccess
fn clone(&self) -> NetworkAccess
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 NetworkAccess
impl Debug for NetworkAccess
Source§impl<'de> Deserialize<'de> for NetworkAccess
impl<'de> Deserialize<'de> for NetworkAccess
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 Display for NetworkAccess
impl Display for NetworkAccess
Source§impl FromStr for NetworkAccess
impl FromStr for NetworkAccess
Source§impl Hash for NetworkAccess
impl Hash for NetworkAccess
Source§impl Ord for NetworkAccess
impl Ord for NetworkAccess
Source§fn cmp(&self, other: &NetworkAccess) -> Ordering
fn cmp(&self, other: &NetworkAccess) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for NetworkAccess
impl PartialEq for NetworkAccess
Source§fn eq(&self, other: &NetworkAccess) -> bool
fn eq(&self, other: &NetworkAccess) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for NetworkAccess
impl PartialOrd for NetworkAccess
Source§impl Serialize for NetworkAccess
impl Serialize for NetworkAccess
Source§impl TryFrom<&String> for NetworkAccess
impl TryFrom<&String> for NetworkAccess
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for NetworkAccess
impl TryFrom<&str> for NetworkAccess
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for NetworkAccess
impl TryFrom<String> for NetworkAccess
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl Copy for NetworkAccess
impl Eq for NetworkAccess
impl StructuralPartialEq for NetworkAccess
Auto Trait Implementations§
impl Freeze for NetworkAccess
impl RefUnwindSafe for NetworkAccess
impl Send for NetworkAccess
impl Sync for NetworkAccess
impl Unpin for NetworkAccess
impl UnsafeUnpin for NetworkAccess
impl UnwindSafe for NetworkAccess
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.