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