pub struct SetStickerSetThumbnailParams {
pub name: String,
pub user_id: u64,
pub thumbnail: Option<FileUpload>,
pub format: StickerFormat,
}
Fields§
§name: String
§user_id: u64
§thumbnail: Option<FileUpload>
§format: StickerFormat
Implementations§
source§impl SetStickerSetThumbnailParams
impl SetStickerSetThumbnailParams
sourcepub fn builder() -> SetStickerSetThumbnailParamsBuilder<((), (), (), ())>
pub fn builder() -> SetStickerSetThumbnailParamsBuilder<((), (), (), ())>
Create a builder for building SetStickerSetThumbnailParams
.
On the builder, call .name(...)
, .user_id(...)
, .thumbnail(...)
(optional), .format(...)
to set the values of the fields.
Finally, call .build()
to create the instance of SetStickerSetThumbnailParams
.
Trait Implementations§
source§impl Clone for SetStickerSetThumbnailParams
impl Clone for SetStickerSetThumbnailParams
source§fn clone(&self) -> SetStickerSetThumbnailParams
fn clone(&self) -> SetStickerSetThumbnailParams
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SetStickerSetThumbnailParams
impl Debug for SetStickerSetThumbnailParams
source§impl<'de> Deserialize<'de> for SetStickerSetThumbnailParams
impl<'de> Deserialize<'de> for SetStickerSetThumbnailParams
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for SetStickerSetThumbnailParams
impl PartialEq for SetStickerSetThumbnailParams
source§fn eq(&self, other: &SetStickerSetThumbnailParams) -> bool
fn eq(&self, other: &SetStickerSetThumbnailParams) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SetStickerSetThumbnailParams
impl StructuralPartialEq for SetStickerSetThumbnailParams
Auto Trait Implementations§
impl Freeze for SetStickerSetThumbnailParams
impl RefUnwindSafe for SetStickerSetThumbnailParams
impl Send for SetStickerSetThumbnailParams
impl Sync for SetStickerSetThumbnailParams
impl Unpin for SetStickerSetThumbnailParams
impl UnwindSafe for SetStickerSetThumbnailParams
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