[][src]Struct hexchat::server_event::PRIVMSG

pub struct PRIVMSG { /* fields omitted */ }

A ServerEvent corresponding to PRIVMSG.

Methods

impl PRIVMSG[src]

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

Gets the user that sent this message.

pub fn get_target(&self) -> &PrivmsgTarget[src]

Gets the target of the message.

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

Gets the message that was sent.

Trait Implementations

impl Clone for PRIVMSG[src]

impl Debug for PRIVMSG[src]

impl Eq for PRIVMSG[src]

impl PartialEq<PRIVMSG> for PRIVMSG[src]

impl ServerEvent for PRIVMSG[src]

impl StructuralEq for PRIVMSG[src]

impl StructuralPartialEq for PRIVMSG[src]

Auto Trait Implementations

impl RefUnwindSafe for PRIVMSG

impl !Send for PRIVMSG

impl !Sync for PRIVMSG

impl Unpin for PRIVMSG

impl UnwindSafe for PRIVMSG

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> 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.