pub struct ChatError {
pub chat_error: ChatError,
pub undocumented: BTreeMap<String, JsonObject>,
}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 error.
Fields§
§chat_error: ChatError§undocumented: BTreeMap<String, JsonObject>Trait Implementations§
Source§impl<'de> Deserialize<'de> for ChatError
impl<'de> Deserialize<'de> for ChatError
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 ChatError
Auto Trait Implementations§
impl Freeze for ChatError
impl RefUnwindSafe for ChatError
impl Send for ChatError
impl Sync for ChatError
impl Unpin for ChatError
impl UnwindSafe for ChatError
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