[][src]Struct telegram_bot::types::requests::get_updates::GetUpdates

#[must_use = "requests do nothing unless sent"]pub struct GetUpdates { /* fields omitted */ }

Use this method to receive incoming updates using long polling.

Implementations

impl GetUpdates[src]

pub fn new() -> GetUpdates[src]

pub fn offset(&mut self, offset: i64) -> &mut GetUpdates[src]

pub fn limit(&mut self, limit: i64) -> &mut GetUpdates[src]

pub fn timeout(&mut self, timeout: i64) -> &mut GetUpdates[src]

pub fn allowed_updates(&mut self, updates: &[AllowedUpdate]) -> &mut GetUpdates[src]

Trait Implementations

impl Clone for GetUpdates[src]

impl Debug for GetUpdates[src]

impl PartialEq<GetUpdates> for GetUpdates[src]

impl PartialOrd<GetUpdates> for GetUpdates[src]

impl Request for GetUpdates[src]

impl Serialize for GetUpdates[src]

impl StructuralPartialEq for GetUpdates[src]

Auto Trait Implementations

impl RefUnwindSafe for GetUpdates[src]

impl Send for GetUpdates[src]

impl Sync for GetUpdates[src]

impl Unpin for GetUpdates[src]

impl UnwindSafe for GetUpdates[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]