pub struct SetStickerSetThumbnailParamsBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> SetStickerSetThumbnailParamsBuilder<S>
impl<S: State> SetStickerSetThumbnailParamsBuilder<S>
Sourcepub fn build(self) -> SetStickerSetThumbnailParamswhere
S: IsComplete,
pub fn build(self) -> SetStickerSetThumbnailParamswhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn name(
self,
value: impl Into<String>,
) -> SetStickerSetThumbnailParamsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: impl Into<String>,
) -> SetStickerSetThumbnailParamsBuilder<SetName<S>>where
S::Name: IsUnset,
Required.
Sourcepub fn user_id(
self,
value: u64,
) -> SetStickerSetThumbnailParamsBuilder<SetUserId<S>>where
S::UserId: IsUnset,
pub fn user_id(
self,
value: u64,
) -> SetStickerSetThumbnailParamsBuilder<SetUserId<S>>where
S::UserId: IsUnset,
Required.
Sourcepub fn thumbnail(
self,
value: impl Into<FileUpload>,
) -> SetStickerSetThumbnailParamsBuilder<SetThumbnail<S>>where
S::Thumbnail: IsUnset,
pub fn thumbnail(
self,
value: impl Into<FileUpload>,
) -> SetStickerSetThumbnailParamsBuilder<SetThumbnail<S>>where
S::Thumbnail: IsUnset,
Sourcepub fn maybe_thumbnail(
self,
value: Option<impl Into<FileUpload>>,
) -> SetStickerSetThumbnailParamsBuilder<SetThumbnail<S>>where
S::Thumbnail: IsUnset,
pub fn maybe_thumbnail(
self,
value: Option<impl Into<FileUpload>>,
) -> SetStickerSetThumbnailParamsBuilder<SetThumbnail<S>>where
S::Thumbnail: IsUnset,
Sourcepub fn format(
self,
value: StickerFormat,
) -> SetStickerSetThumbnailParamsBuilder<SetFormat<S>>where
S::Format: IsUnset,
pub fn format(
self,
value: StickerFormat,
) -> SetStickerSetThumbnailParamsBuilder<SetFormat<S>>where
S::Format: IsUnset,
Required.
Auto Trait Implementations§
impl<S> Freeze for SetStickerSetThumbnailParamsBuilder<S>
impl<S> RefUnwindSafe for SetStickerSetThumbnailParamsBuilder<S>
impl<S> Send for SetStickerSetThumbnailParamsBuilder<S>
impl<S> Sync for SetStickerSetThumbnailParamsBuilder<S>
impl<S> Unpin for SetStickerSetThumbnailParamsBuilder<S>
impl<S> UnsafeUnpin for SetStickerSetThumbnailParamsBuilder<S>
impl<S> UnwindSafe for SetStickerSetThumbnailParamsBuilder<S>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more