Struct rust_tdlib::types::AddFavoriteSticker
source · pub struct AddFavoriteSticker { /* private fields */ }
Expand description
Adds a new sticker to the list of favorite stickers. The new sticker is added to the top of the list. If the sticker was already in the list, it is removed from the list first. Only stickers belonging to a sticker set can be added to this list
Implementations§
Trait Implementations§
source§impl AsRef<AddFavoriteSticker> for AddFavoriteSticker
impl AsRef<AddFavoriteSticker> for AddFavoriteSticker
source§fn as_ref(&self) -> &AddFavoriteSticker
fn as_ref(&self) -> &AddFavoriteSticker
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for AddFavoriteSticker
impl Clone for AddFavoriteSticker
source§fn clone(&self) -> AddFavoriteSticker
fn clone(&self) -> AddFavoriteSticker
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 AddFavoriteSticker
impl Debug for AddFavoriteSticker
source§impl Default for AddFavoriteSticker
impl Default for AddFavoriteSticker
source§fn default() -> AddFavoriteSticker
fn default() -> AddFavoriteSticker
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AddFavoriteSticker
impl<'de> Deserialize<'de> for AddFavoriteSticker
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