Struct telegram_api_rs::objects::ResponseParameters
source · pub struct ResponseParameters {
pub migrate_to_chat_id: Option<i32>,
pub retry_after: Option<i32>,
}
Fields§
§migrate_to_chat_id: Option<i32>
§retry_after: Option<i32>
Implementations§
source§impl ResponseParameters
impl ResponseParameters
pub fn from_json(data: JsonValue) -> ResponseParameters
pub fn to_json(&self) -> JsonValue
pub fn empty() -> ResponseParameters
Trait Implementations§
source§impl Clone for ResponseParameters
impl Clone for ResponseParameters
Auto Trait Implementations§
impl RefUnwindSafe for ResponseParameters
impl Send for ResponseParameters
impl Sync for ResponseParameters
impl Unpin 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