Struct sonicbot_matrix::MessageInfo
source · [−]pub struct MessageInfo {
pub message: String,
pub words: Vec<String>,
pub args: Vec<String>,
pub sender: UserId,
pub room_id: RoomId,
}Fields
message: Stringwords: Vec<String>args: Vec<String>sender: UserIdroom_id: RoomIdTrait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for MessageInfo
impl Send for MessageInfo
impl Sync for MessageInfo
impl Unpin for MessageInfo
impl UnwindSafe for MessageInfo
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more