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