Trait teloxide_core::payloads::GetUpdatesSetters[][src]

pub trait GetUpdatesSetters: HasPayload<Payload = GetUpdates> + Sized {
    fn offset(self, value: i32) -> Self { ... }
fn limit(self, value: u8) -> Self { ... }
fn timeout(self, value: u32) -> Self { ... }
fn allowed_updates<T>(self, value: T) -> Self
    where
        T: IntoIterator<Item = <Vec<AllowedUpdate> as IntoIterator>::Item>
, { ... } }

Setters for fields of GetUpdates

Provided methods

fn offset(self, value: i32) -> Self[src]

Setter for offset field.

fn limit(self, value: u8) -> Self[src]

Setter for limit field.

fn timeout(self, value: u32) -> Self[src]

Setter for timeout field.

fn allowed_updates<T>(self, value: T) -> Self where
    T: IntoIterator<Item = <Vec<AllowedUpdate> as IntoIterator>::Item>, 
[src]

Setter for allowed_updates field.

Loading content...

Implementors

impl<P> GetUpdatesSetters for P where
    P: HasPayload<Payload = GetUpdates>, 
[src]

Loading content...