pub struct SetCustomEmojiStickerSetThumbnailParams {
pub name: String,
pub custom_emoji_id: Option<String>,
}
Fields§
§name: String
§custom_emoji_id: Option<String>
Implementations§
source§impl SetCustomEmojiStickerSetThumbnailParams
impl SetCustomEmojiStickerSetThumbnailParams
sourcepub fn builder() -> SetCustomEmojiStickerSetThumbnailParamsBuilder<((), ())>
pub fn builder() -> SetCustomEmojiStickerSetThumbnailParamsBuilder<((), ())>
Create a builder for building SetCustomEmojiStickerSetThumbnailParams
.
On the builder, call .name(...)
, .custom_emoji_id(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of SetCustomEmojiStickerSetThumbnailParams
.
Trait Implementations§
source§impl Clone for SetCustomEmojiStickerSetThumbnailParams
impl Clone for SetCustomEmojiStickerSetThumbnailParams
source§fn clone(&self) -> SetCustomEmojiStickerSetThumbnailParams
fn clone(&self) -> SetCustomEmojiStickerSetThumbnailParams
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<'de> Deserialize<'de> for SetCustomEmojiStickerSetThumbnailParams
impl<'de> Deserialize<'de> for SetCustomEmojiStickerSetThumbnailParams
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 SetCustomEmojiStickerSetThumbnailParams
impl PartialEq for SetCustomEmojiStickerSetThumbnailParams
source§fn eq(&self, other: &SetCustomEmojiStickerSetThumbnailParams) -> bool
fn eq(&self, other: &SetCustomEmojiStickerSetThumbnailParams) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SetCustomEmojiStickerSetThumbnailParams
impl StructuralPartialEq for SetCustomEmojiStickerSetThumbnailParams
Auto Trait Implementations§
impl Freeze for SetCustomEmojiStickerSetThumbnailParams
impl RefUnwindSafe for SetCustomEmojiStickerSetThumbnailParams
impl Send for SetCustomEmojiStickerSetThumbnailParams
impl Sync for SetCustomEmojiStickerSetThumbnailParams
impl Unpin for SetCustomEmojiStickerSetThumbnailParams
impl UnwindSafe for SetCustomEmojiStickerSetThumbnailParams
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