pub struct DraftMessage {
pub reply_to_message_id: i64,
pub input_message_text: InputMessageContent,
}
Expand description
Contains information about a message draft
Fields§
§reply_to_message_id: i64
Identifier of the message to reply to; 0 if none
input_message_text: InputMessageContent
Content of the message draft; this should always be of type inputMessageText
Trait Implementations§
Source§impl Clone for DraftMessage
impl Clone for DraftMessage
Source§fn clone(&self) -> DraftMessage
fn clone(&self) -> DraftMessage
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 DraftMessage
impl Debug for DraftMessage
Source§impl<'de> Deserialize<'de> for DraftMessage
impl<'de> Deserialize<'de> for DraftMessage
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 DraftMessage
impl RefUnwindSafe for DraftMessage
impl Send for DraftMessage
impl Sync for DraftMessage
impl Unpin for DraftMessage
impl UnwindSafe for DraftMessage
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