pub trait UploadStickerFileSetters: HasPayload<Payload = UploadStickerFile> + Sized {
// Provided methods
fn user_id(self, value: UserId) -> Self { ... }
fn sticker(self, value: InputFile) -> Self { ... }
fn sticker_format(self, value: StickerFormat) -> Self { ... }
}
Expand description
Setters for fields of UploadStickerFile
Provided Methods§
Sourcefn sticker_format(self, value: StickerFormat) -> Self
fn sticker_format(self, value: StickerFormat) -> Self
Setter for sticker_format
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.