pub trait GetUpdatesSetters: HasPayload<Payload = GetUpdates> + Sized {
    // Provided methods
    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 = AllowedUpdate> { ... }
}
Expand description

Setters for fields of GetUpdates

Provided Methods§

source

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

Setter for offset field.

source

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

Setter for limit field.

source

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

Setter for timeout field.

source

fn allowed_updates<T>(self, value: T) -> Selfwhere T: IntoIterator<Item = AllowedUpdate>,

Setter for allowed_updates field.

Implementors§

source§

impl<P> GetUpdatesSetters for Pwhere P: HasPayload<Payload = GetUpdates>,