[−][src]Enum irc_proto::mode::ChannelMode
Channel modes for the MODE command.
Variants
b - ban the user from joining or speaking in the channel
e - exemptions from bans
l - limit the maximum number of users in a channel
i - channel becomes invite-only
I - exception to invite-only rule
k - specify channel key
m - channel is in moderated mode
r - entry for registered users only
s - channel is hidden from listings
t - require permissions to edit topic
n - users must join channels to message them
q - user gets founder permission
a - user gets admin or protected permission
o - user gets oper permission
h - user gets halfop permission
v - user gets voice permission
Unknown(char)
Any other unknown-to-the-crate mode.
Trait Implementations
impl Clone for ChannelMode
[src]
pub fn clone(&self) -> ChannelMode
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ChannelMode
[src]
impl Display for ChannelMode
[src]
impl ModeType for ChannelMode
[src]
pub fn mode(target: &str, modes: &[Mode<Self>]) -> Command
[src]
pub fn takes_arg(&self) -> bool
[src]
pub fn from_char(c: char) -> ChannelMode
[src]
impl PartialEq<ChannelMode> for ChannelMode
[src]
pub fn eq(&self, other: &ChannelMode) -> bool
[src]
pub fn ne(&self, other: &ChannelMode) -> bool
[src]
impl StructuralPartialEq for ChannelMode
[src]
Auto Trait Implementations
impl RefUnwindSafe for ChannelMode
[src]
impl Send for ChannelMode
[src]
impl Sync for ChannelMode
[src]
impl Unpin for ChannelMode
[src]
impl UnwindSafe for ChannelMode
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,