#[non_exhaustive]pub enum ChannelPluginEntry {
Id(String),
Plugin(ChannelPlugin),
}Expand description
An entry of allowedChannelPlugins.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for ChannelPluginEntry
impl Clone for ChannelPluginEntry
Source§impl Debug for ChannelPluginEntry
impl Debug for ChannelPluginEntry
Source§impl<'de> Deserialize<'de> for ChannelPluginEntry
impl<'de> Deserialize<'de> for ChannelPluginEntry
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 PartialEq for ChannelPluginEntry
impl PartialEq for ChannelPluginEntry
Source§impl Serialize for ChannelPluginEntry
impl Serialize for ChannelPluginEntry
impl StructuralPartialEq for ChannelPluginEntry
Auto Trait Implementations§
impl Forget for ChannelPluginEntry
impl Freeze for ChannelPluginEntry
impl Move for ChannelPluginEntry
impl RefUnwindSafe for ChannelPluginEntry
impl Send for ChannelPluginEntry
impl Sync for ChannelPluginEntry
impl Unpin for ChannelPluginEntry
impl UnsafeUnpin for ChannelPluginEntry
impl UnwindSafe for ChannelPluginEntry
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