[][src]Struct hexchat::server_event::KICK

pub struct KICK { /* fields omitted */ }

A ServerEvent corresponding to KICK.

Methods

impl KICK[src]

pub fn get_sender(&self) -> &UserString[src]

Gets the user who sent the kick.

pub fn get_channel(&self) -> &ChannelRef[src]

Gets the channel the user was kicked from.

pub fn get_channel_name(&self) -> IrcIdentRef[src]

Gets the name of the channel the user was kicked from.

pub fn get_kicked(&self) -> IrcIdentRef[src]

Gets the nick of the kicked user.

pub fn get_comment(&self) -> Option<&str>[src]

Gets the kick comment, or None if there wasn't one.

Trait Implementations

impl ServerEvent for KICK[src]

Auto Trait Implementations

impl RefUnwindSafe for KICK

impl !Send for KICK

impl !Sync for KICK

impl Unpin for KICK

impl UnwindSafe for KICK

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> Erased for T

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

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

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.