pub enum PublicSessionRole {
Caller,
Callee,
}Expand description
PublicSessionRole
JSON schema
{
"type": "string",
"enum": [
"caller",
"callee"
]
}Variants§
Trait Implementations§
Source§impl Clone for PublicSessionRole
impl Clone for PublicSessionRole
Source§fn clone(&self) -> PublicSessionRole
fn clone(&self) -> PublicSessionRole
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 PublicSessionRole
impl Debug for PublicSessionRole
Source§impl<'de> Deserialize<'de> for PublicSessionRole
impl<'de> Deserialize<'de> for PublicSessionRole
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 PublicSessionRole
impl Display for PublicSessionRole
Source§impl FromStr for PublicSessionRole
impl FromStr for PublicSessionRole
Source§impl Hash for PublicSessionRole
impl Hash for PublicSessionRole
Source§impl Ord for PublicSessionRole
impl Ord for PublicSessionRole
Source§fn cmp(&self, other: &PublicSessionRole) -> Ordering
fn cmp(&self, other: &PublicSessionRole) -> 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 PublicSessionRole
impl PartialEq for PublicSessionRole
Source§fn eq(&self, other: &PublicSessionRole) -> bool
fn eq(&self, other: &PublicSessionRole) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PublicSessionRole
impl PartialOrd for PublicSessionRole
Source§impl Serialize for PublicSessionRole
impl Serialize for PublicSessionRole
Source§impl TryFrom<&String> for PublicSessionRole
impl TryFrom<&String> for PublicSessionRole
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for PublicSessionRole
impl TryFrom<&str> for PublicSessionRole
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for PublicSessionRole
impl TryFrom<String> for PublicSessionRole
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl Copy for PublicSessionRole
impl Eq for PublicSessionRole
impl StructuralPartialEq for PublicSessionRole
Auto Trait Implementations§
impl Freeze for PublicSessionRole
impl RefUnwindSafe for PublicSessionRole
impl Send for PublicSessionRole
impl Sync for PublicSessionRole
impl Unpin for PublicSessionRole
impl UnsafeUnpin for PublicSessionRole
impl UnwindSafe for PublicSessionRole
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