[−][src]Struct hexchat::server_event::PART
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]
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,
fn borrow_mut(&mut self) -> &mut T
[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]
U: From<T>,
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.
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>,