[−][src]Struct hexchat::ChannelInfo
A full set of information about an IRC channel.
Methods
impl ChannelInfo
[src]
pub fn get_name(&self) -> &str
[src]
Gets the channel name.
pub fn get_key(&self) -> Option<&str>
[src]
Gets the channel key, or None
if unknown.
pub fn get_mode_string(&self) -> &str
[src]
Gets the chanmode string for the channel.
pub fn get_type_string(&self) -> &str
[src]
Gets the chantype string for the channel.
pub fn get_flags(&self) -> ChannelFlags
[src]
Gets various flags about the channel.
pub fn get_id(&self) -> i32
[src]
Gets the server ID.
pub fn get_lag_ms(&self) -> u32
[src]
Gets the current latency in milliseconds.
pub fn get_max_modes_per_line(&self) -> u32
[src]
Gets the maximum number of channel modes that can be sent on a single line.
pub fn get_network_name(&self) -> &str
[src]
Gets the name of the network.
pub fn get_nick_prefix_string(&self) -> &str
[src]
Gets the client's prefix string for their nickname, usually corresponding to operator or voice.
pub fn get_nick_mode_string(&self) -> &str
[src]
Gets the client's user mode string.
pub fn get_send_queue_size(&self) -> u32
[src]
Gets the number of bytes in the send queue.
pub fn get_server_name(&self) -> &str
[src]
Gets the name of the server.
pub fn get_type(&self) -> ChannelType
[src]
Gets the type of channel this is.
pub fn get_user_count(&self) -> u32
[src]
Gets the number of users currently in the channel.
Methods from Deref<Target = ChannelRef>
pub fn get_info(&self) -> Option<ChannelInfo>
[src]
Turns this ChannelRef
into a ChannelInfo
, or None
if the channel represented by this
ChannelRef
is no longer valid.
Trait Implementations
impl Clone for ChannelInfo
[src]
fn clone(&self) -> ChannelInfo
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ChannelInfo
[src]
impl Deref for ChannelInfo
[src]
type Target = ChannelRef
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
impl Eq for ChannelInfo
[src]
impl PartialEq<ChannelInfo> for ChannelInfo
[src]
fn eq(&self, other: &ChannelInfo) -> bool
[src]
fn ne(&self, other: &ChannelInfo) -> bool
[src]
impl StructuralEq for ChannelInfo
[src]
impl StructuralPartialEq for ChannelInfo
[src]
Auto Trait Implementations
impl RefUnwindSafe for ChannelInfo
impl !Send for ChannelInfo
impl !Sync for ChannelInfo
impl Unpin for ChannelInfo
impl UnwindSafe for ChannelInfo
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Erased for T
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.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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.
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>,