[−][src]Struct madhouse_steve_tmi::DecodedMessage
The parsed content of a TMI message
Fields
metadata: HashMap<String, String>
Contains all the metadata in a map from the TMI message
from: String
The server or user name from which the message originated
command: String
The command that the IRC server sent. These are IRC commands as per section 3 of https://tools.ietf.org/html/rfc2821
target: Option<String>
Where the message was sent (e.g. channel, or direct to user)
params: String
The parameters of the command, for example the message content for PRIVMSG
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DecodedMessage
impl Send for DecodedMessage
impl Sync for DecodedMessage
impl Unpin for DecodedMessage
impl UnwindSafe for DecodedMessage
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
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.
pub 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>,