[−][src]Struct hexavalent::list::Channel
A channel.
See the List
trait for usage.
Implementations
impl Channel
[src]
pub fn name(&self) -> &str
[src]
Channel or query name.
pub fn key(&self) -> Option<&str>
[src]
Channel key. (HexChat 2.9.6+)
pub fn modes(&self) -> &str
[src]
Available channel modes e.g. "beI,k,l"
. (HexChat 2.12.2+)
pub fn types(&self) -> &str
[src]
Available channel types e.g. "#!&"
.
pub fn flags(&self) -> ChannelFlags
[src]
Info flags.
pub fn server_id(&self) -> i32
[src]
Unique server ID.
pub fn lag_ms(&self) -> i32
[src]
Lag in milliseconds.
pub fn max_modes_per_line(&self) -> u32
[src]
Maximum modes per line.
pub fn network(&self) -> &str
[src]
Name of network.
pub fn nick_prefixes(&self) -> &str
[src]
Nickname prefixes e.g. "@+"
.
pub fn nick_modes(&self) -> &str
[src]
Nickname mode chars e.g. "ov"
.
pub fn queue(&self) -> u32
[src]
Number of bytes in the send-queue.
pub fn servname(&self) -> &str
[src]
Server name to which this channel belongs.
pub fn ty(&self) -> ChannelType
[src]
Channel type.
pub fn num_users(&self) -> u32
[src]
Number of users in this channel.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Channel
[src]
impl Send for Channel
[src]
impl Sync for Channel
[src]
impl Unpin for Channel
[src]
impl UnwindSafe for Channel
[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, 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>,