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§
sourcefn stickers<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = InputSticker>,
fn stickers<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = InputSticker>,
Setter for stickers
field.
sourcefn sticker_format(self, value: StickerFormat) -> Self
fn sticker_format(self, value: StickerFormat) -> Self
Setter for sticker_format
field.
sourcefn sticker_type(self, value: StickerType) -> Self
fn sticker_type(self, value: StickerType) -> Self
Setter for sticker_type
field.
sourcefn needs_repainting(self, value: bool) -> Self
fn needs_repainting(self, value: bool) -> Self
Setter for needs_repainting
field.
Object Safety§
This trait is not object safe.