pub struct SendMessageInput {
pub text: String,
pub reply_to_id: Option<String>,
}Expand description
Input for sending a message
Fields§
§text: StringMessage text
reply_to_id: Option<String>ID of message to reply to (optional)
Trait Implementations§
Source§impl Clone for SendMessageInput
impl Clone for SendMessageInput
Source§fn clone(&self) -> SendMessageInput
fn clone(&self) -> SendMessageInput
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SendMessageInput
impl Debug for SendMessageInput
Source§impl<'de> Deserialize<'de> for SendMessageInput
impl<'de> Deserialize<'de> for SendMessageInput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SendMessageInput
impl RefUnwindSafe for SendMessageInput
impl Send for SendMessageInput
impl Sync for SendMessageInput
impl Unpin for SendMessageInput
impl UnwindSafe for SendMessageInput
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