Enum hiirc::Prefix
[−]
pub enum Prefix {
User(PrefixUser),
Server(String),
}Prefix of the message.
Variants
User(PrefixUser)Prefix is a user.
Server(String)Prefix is a server.
Trait Implementations
impl PartialEq<Prefix> for Prefix
fn eq(&self, __arg_0: &Prefix) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Prefix) -> bool
This method tests for !=.
impl Eq for Prefix
impl Debug for Prefix
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl Clone for Prefix
fn clone(&self) -> Prefix
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more