Trait SetChatDescriptionSetters

Source
pub trait SetChatDescriptionSetters: HasPayload<Payload = SetChatDescription> + Sized {
    // Provided methods
    fn chat_id<T>(self, value: T) -> Self
       where T: Into<Recipient> { ... }
    fn description<T>(self, value: T) -> Self
       where T: Into<String> { ... }
}
Expand description

Setters for fields of SetChatDescription

Provided Methods§

Source

fn chat_id<T>(self, value: T) -> Self
where T: Into<Recipient>,

Setter for chat_id field.

Source

fn description<T>(self, value: T) -> Self
where T: Into<String>,

Setter for description field.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§