Enum irc_proto::command::MetadataSubCommand
source · pub enum MetadataSubCommand {
GET,
LIST,
SET,
CLEAR,
}
Expand description
A list of all the subcommands for the metadata extension.
Variants§
GET
Looks up the value for some keys.
LIST
Lists all of the metadata keys and values.
SET
Sets the value for some key.
CLEAR
Removes all metadata.
Implementations§
Trait Implementations§
source§impl Clone for MetadataSubCommand
impl Clone for MetadataSubCommand
source§fn clone(&self) -> MetadataSubCommand
fn clone(&self) -> MetadataSubCommand
Returns a copy of the value. Read more
1.0.0 · 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 MetadataSubCommand
impl Debug for MetadataSubCommand
source§impl FromStr for MetadataSubCommand
impl FromStr for MetadataSubCommand
source§impl PartialEq for MetadataSubCommand
impl PartialEq for MetadataSubCommand
source§fn eq(&self, other: &MetadataSubCommand) -> bool
fn eq(&self, other: &MetadataSubCommand) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MetadataSubCommand
impl StructuralPartialEq for MetadataSubCommand
Auto Trait Implementations§
impl Freeze for MetadataSubCommand
impl RefUnwindSafe for MetadataSubCommand
impl Send for MetadataSubCommand
impl Sync for MetadataSubCommand
impl Unpin for MetadataSubCommand
impl UnwindSafe for MetadataSubCommand
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