pub struct RichCall {
pub payload: Rich,
pub fallback: String,
pub reply_to: Option<String>,
pub thread: Option<String>,
pub edit: Option<String>,
pub room: Option<String>,
}Expand description
A checked call.
Fields§
§payload: RichThe checked payload (canonical numbers).
fallback: StringThe message text (Markdown).
reply_to: Option<String>rich_send: reply to this event.
thread: Option<String>rich_send: in this thread (its root event id).
edit: Option<String>rich_edit: the message replaced.
room: Option<String>As named by the caller (dm, a room id, …); None: this chat.
Trait Implementations§
impl StructuralPartialEq for RichCall
Auto Trait Implementations§
impl Forget for RichCall
impl Freeze for RichCall
impl RefUnwindSafe for RichCall
impl Send for RichCall
impl Sync for RichCall
impl Unpin for RichCall
impl UnsafeUnpin for RichCall
impl UnwindSafe for RichCall
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more