pub struct GetUpdates { /* private fields */ }
Expand description
Use this method to receive incoming updates using long polling.
Implementations§
Trait Implementations§
Source§impl Clone for GetUpdates
impl Clone for GetUpdates
Source§fn clone(&self) -> GetUpdates
fn clone(&self) -> GetUpdates
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 GetUpdates
impl Debug for GetUpdates
Source§impl Default for GetUpdates
impl Default for GetUpdates
Source§fn default() -> GetUpdates
fn default() -> GetUpdates
Returns the “default value” for a type. Read more
Source§impl PartialEq for GetUpdates
impl PartialEq for GetUpdates
Source§impl PartialOrd for GetUpdates
impl PartialOrd for GetUpdates
Source§impl Request for GetUpdates
impl Request for GetUpdates
type Type = JsonRequestType<GetUpdates>
type Response = JsonIdResponse<Vec<Update>>
fn serialize(&self) -> Result<HttpRequest, Error>
fn detach(&self) -> DetachedRequest<Self::Response>
Source§impl Serialize for GetUpdates
impl Serialize for GetUpdates
impl StructuralPartialEq for GetUpdates
Auto Trait Implementations§
impl Freeze for GetUpdates
impl RefUnwindSafe for GetUpdates
impl Send for GetUpdates
impl Sync for GetUpdates
impl Unpin for GetUpdates
impl UnwindSafe for GetUpdates
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