pub struct ResponseParameters {
pub _migrate_to_chat_id: Option<i32>,
pub _retry_after: Option<i32>,
}Expand description
Contains information about why a request was unsuccessfull.
Fields§
§_migrate_to_chat_id: Option<i32>Optional. The group has been migrated to a supergroup with the specified identifier. This number may be greater than 32 bits and some programming languages may have difficulty/silent defects in interpreting it. But it is smaller than 52 bits, so a signed 64 bit integer or double-precision float type are safe for storing this identifier.
_retry_after: Option<i32>Optional. In case of exceeding flood control, the number of seconds left to wait before the request can be repeated
Auto Trait Implementations§
impl Freeze for ResponseParameters
impl RefUnwindSafe for ResponseParameters
impl Send for ResponseParameters
impl Sync for ResponseParameters
impl Unpin for ResponseParameters
impl UnsafeUnpin for ResponseParameters
impl UnwindSafe for ResponseParameters
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