pub struct SetBotUpdatesStatus {
    pub pending_update_count: i32,
    pub error_message: String,
}Expand description
Informs the server about the number of pending bot updates if they haven’t been processed for a long time; for bots only
Fields§
§pending_update_count: i32The number of pending updates
error_message: StringThe last error message
Trait Implementations§
Source§impl Clone for SetBotUpdatesStatus
 
impl Clone for SetBotUpdatesStatus
Source§fn clone(&self) -> SetBotUpdatesStatus
 
fn clone(&self) -> SetBotUpdatesStatus
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 SetBotUpdatesStatus
 
impl Debug for SetBotUpdatesStatus
Source§impl<'de> Deserialize<'de> for SetBotUpdatesStatus
 
impl<'de> Deserialize<'de> for SetBotUpdatesStatus
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 Method for SetBotUpdatesStatus
 
impl Method for SetBotUpdatesStatus
Auto Trait Implementations§
impl Freeze for SetBotUpdatesStatus
impl RefUnwindSafe for SetBotUpdatesStatus
impl Send for SetBotUpdatesStatus
impl Sync for SetBotUpdatesStatus
impl Unpin for SetBotUpdatesStatus
impl UnwindSafe for SetBotUpdatesStatus
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