[][src]Struct hexavalent::list::Channel

pub struct Channel { /* fields omitted */ }

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

impl Clone for Channel[src]

impl Debug for Channel[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.