pub trait CreateNewStickerSetSetters: HasPayload<Payload = CreateNewStickerSet> + Sized {
    // Provided methods
    fn user_id(self, value: UserId) -> Self { ... }
    fn name<T>(self, value: T) -> Self
       where T: Into<String> { ... }
    fn title<T>(self, value: T) -> Self
       where T: Into<String> { ... }
    fn stickers<T>(self, value: T) -> Self
       where T: IntoIterator<Item = InputSticker> { ... }
    fn sticker_format(self, value: StickerFormat) -> Self { ... }
    fn sticker_type(self, value: StickerType) -> Self { ... }
    fn needs_repainting(self, value: bool) -> Self { ... }
}
Expand description

Setters for fields of CreateNewStickerSet

Provided Methods§

source

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

Setter for user_id field.

source

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

Setter for name field.

source

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

Setter for title field.

source

fn stickers<T>(self, value: T) -> Self
where T: IntoIterator<Item = InputSticker>,

Setter for stickers field.

source

fn sticker_format(self, value: StickerFormat) -> Self

Setter for sticker_format field.

source

fn sticker_type(self, value: StickerType) -> Self

Setter for sticker_type field.

source

fn needs_repainting(self, value: bool) -> Self

Setter for needs_repainting field.

Object Safety§

This trait is not object safe.

Implementors§