[][src]Struct hexchat::server_event::PART

pub struct PART { /* fields omitted */ }

A ServerEvent corresponding to PART.

Methods

impl PART[src]

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

Gets the user who left.

pub fn get_channel_names(&self) -> &[IrcIdent][src]

Gets the channel names that were left.

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

Gets the channels that were left. Identical layout to get_channel_names.

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

Gets the message that was sent, or None if there wasn't one.

Trait Implementations

impl ServerEvent for PART[src]

Auto Trait Implementations

impl RefUnwindSafe for PART

impl !Send for PART

impl !Sync for PART

impl Unpin for PART

impl UnwindSafe for PART

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.