pub enum ConnectionSharing {
Tenant,
Shared,
Own,
}Expand description
Who reaches a connection: every member of its tenant (tenant), the
member who added it and the people it is shared with (shared), or the
member who added it alone (own).
JSON schema
{
"description": "Who reaches a connection: every member of its tenant (`tenant`), the\nmember who added it and the people it is shared with (`shared`), or the\nmember who added it alone (`own`).",
"type": "string",
"enum": [
"tenant",
"shared",
"own"
]
}Variants§
Trait Implementations§
Source§impl Clone for ConnectionSharing
impl Clone for ConnectionSharing
impl Copy for ConnectionSharing
Source§impl Debug for ConnectionSharing
impl Debug for ConnectionSharing
Source§impl<'de> Deserialize<'de> for ConnectionSharing
impl<'de> Deserialize<'de> for ConnectionSharing
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 ConnectionSharing
impl Display for ConnectionSharing
impl Eq for ConnectionSharing
Source§impl FromStr for ConnectionSharing
impl FromStr for ConnectionSharing
Source§impl Hash for ConnectionSharing
impl Hash for ConnectionSharing
Source§impl Ord for ConnectionSharing
impl Ord for ConnectionSharing
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ConnectionSharing
impl PartialEq for ConnectionSharing
Source§impl PartialOrd for ConnectionSharing
impl PartialOrd for ConnectionSharing
Source§impl Serialize for ConnectionSharing
impl Serialize for ConnectionSharing
impl StructuralPartialEq for ConnectionSharing
Source§impl TryFrom<&String> for ConnectionSharing
impl TryFrom<&String> for ConnectionSharing
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for ConnectionSharing
impl TryFrom<&str> for ConnectionSharing
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for ConnectionSharing
impl TryFrom<String> for ConnectionSharing
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Forget for ConnectionSharing
impl Freeze for ConnectionSharing
impl Move for ConnectionSharing
impl RefUnwindSafe for ConnectionSharing
impl Send for ConnectionSharing
impl Sync for ConnectionSharing
impl Unpin for ConnectionSharing
impl UnsafeUnpin for ConnectionSharing
impl UnwindSafe for ConnectionSharing
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,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.