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