pub struct UpdateMessageSendFailed {
pub message: Message,
pub old_message_id: i64,
pub error: Error,
}
Expand description
A message failed to send. Be aware that some messages being sent can be irrecoverably deleted, in which case updateDeleteMessages will be received instead of this update
Fields§
§message: Message
The failed to send message
old_message_id: i64
The previous temporary message identifier
error: Error
The cause of the message sending failure
Trait Implementations§
Source§impl Clone for UpdateMessageSendFailed
impl Clone for UpdateMessageSendFailed
Source§fn clone(&self) -> UpdateMessageSendFailed
fn clone(&self) -> UpdateMessageSendFailed
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 UpdateMessageSendFailed
impl Debug for UpdateMessageSendFailed
Source§impl<'de> Deserialize<'de> for UpdateMessageSendFailed
impl<'de> Deserialize<'de> for UpdateMessageSendFailed
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
Source§impl PartialEq for UpdateMessageSendFailed
impl PartialEq for UpdateMessageSendFailed
Source§impl Serialize for UpdateMessageSendFailed
impl Serialize for UpdateMessageSendFailed
impl StructuralPartialEq for UpdateMessageSendFailed
Auto Trait Implementations§
impl Freeze for UpdateMessageSendFailed
impl RefUnwindSafe for UpdateMessageSendFailed
impl Send for UpdateMessageSendFailed
impl Sync for UpdateMessageSendFailed
impl Unpin for UpdateMessageSendFailed
impl UnwindSafe for UpdateMessageSendFailed
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