pub struct SendMessageOptions {
pub msg_type: Option<String>,
pub metadata: Option<Value>,
pub parent_id: Option<String>,
pub quoted_message_id: Option<String>,
}Expand description
Options for sending a message with extended parameters.
Fields§
§msg_type: Option<String>§metadata: Option<Value>§parent_id: Option<String>§quoted_message_id: Option<String>Trait Implementations§
Source§impl Default for SendMessageOptions
impl Default for SendMessageOptions
Source§fn default() -> SendMessageOptions
fn default() -> SendMessageOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SendMessageOptions
impl RefUnwindSafe for SendMessageOptions
impl Send for SendMessageOptions
impl Sync for SendMessageOptions
impl Unpin for SendMessageOptions
impl UnsafeUnpin for SendMessageOptions
impl UnwindSafe for SendMessageOptions
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