pub struct UpdateMessageSendSucceeded {
pub message: Message,
pub old_message_id: i64,
}Expand description
A message has been successfully sent
Fields§
§message: MessageThe sent message. Almost any field of the new message can be different from the corresponding field of the original message. For example, the field scheduling_state may change, making the message scheduled, or non-scheduled
old_message_id: i64The previous temporary message identifier
Trait Implementations§
Source§impl Clone for UpdateMessageSendSucceeded
impl Clone for UpdateMessageSendSucceeded
Source§fn clone(&self) -> UpdateMessageSendSucceeded
fn clone(&self) -> UpdateMessageSendSucceeded
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 UpdateMessageSendSucceeded
impl Debug for UpdateMessageSendSucceeded
Source§impl<'de> Deserialize<'de> for UpdateMessageSendSucceeded
impl<'de> Deserialize<'de> for UpdateMessageSendSucceeded
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
impl StructuralPartialEq for UpdateMessageSendSucceeded
Auto Trait Implementations§
impl Freeze for UpdateMessageSendSucceeded
impl RefUnwindSafe for UpdateMessageSendSucceeded
impl Send for UpdateMessageSendSucceeded
impl Sync for UpdateMessageSendSucceeded
impl Unpin for UpdateMessageSendSucceeded
impl UnsafeUnpin for UpdateMessageSendSucceeded
impl UnwindSafe for UpdateMessageSendSucceeded
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