pub struct ChatErrors {
pub chat_errors: Vec<ChatError>,
pub undocumented: HashMap<String, Value>,
}Expand description
§Error events
Bots may log these events for debugging. There will be many error events - this does NOT indicate a malfunction - e.g., they may happen because of bad network connectivity, or because messages may be delivered to deleted chats for a short period of time (they will be ignored).
Chat errors.
Fields§
§chat_errors: Vec<ChatError>§undocumented: HashMap<String, Value>Trait Implementations§
Source§impl Clone for ChatErrors
impl Clone for ChatErrors
Source§fn clone(&self) -> ChatErrors
fn clone(&self) -> ChatErrors
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 ChatErrors
impl Debug for ChatErrors
Source§impl<'de> Deserialize<'de> for ChatErrors
impl<'de> Deserialize<'de> for ChatErrors
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ChatErrors, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ChatErrors, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ChatErrors
impl PartialEq for ChatErrors
Source§impl Serialize for ChatErrors
impl Serialize for ChatErrors
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ChatErrors
Auto Trait Implementations§
impl Freeze for ChatErrors
impl RefUnwindSafe for ChatErrors
impl Send for ChatErrors
impl Sync for ChatErrors
impl Unpin for ChatErrors
impl UnwindSafe for ChatErrors
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