Trait SetStickerSetThumbnailSetters

Source
pub trait SetStickerSetThumbnailSetters: HasPayload<Payload = SetStickerSetThumbnail> + Sized {
    // Provided methods
    fn name<T>(self, value: T) -> Self
       where T: Into<String> { ... }
    fn user_id(self, value: UserId) -> Self { ... }
    fn thumbnail(self, value: InputFile) -> Self { ... }
}
Expand description

Setters for fields of SetStickerSetThumbnail

Provided Methods§

Source

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

Setter for name field.

Source

fn user_id(self, value: UserId) -> Self

Setter for user_id field.

Source

fn thumbnail(self, value: InputFile) -> Self

Setter for thumbnail 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§