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
sourceimpl AsRef<AddFavoriteSticker> for AddFavoriteSticker
impl AsRef<AddFavoriteSticker> for AddFavoriteSticker
sourcefn as_ref(&self) -> &AddFavoriteSticker
fn as_ref(&self) -> &AddFavoriteSticker
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for AddFavoriteSticker
impl Clone for AddFavoriteSticker
sourcefn clone(&self) -> AddFavoriteSticker
fn clone(&self) -> AddFavoriteSticker
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AddFavoriteSticker
impl Debug for AddFavoriteSticker
sourceimpl Default for AddFavoriteSticker
impl Default for AddFavoriteSticker
sourcefn default() -> AddFavoriteSticker
fn default() -> AddFavoriteSticker
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for AddFavoriteSticker
impl<'de> Deserialize<'de> for AddFavoriteSticker
sourcefn 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
sourceimpl Serialize for AddFavoriteSticker
impl Serialize for AddFavoriteSticker
Auto Trait Implementations
impl RefUnwindSafe for AddFavoriteSticker
impl Send for AddFavoriteSticker
impl Sync for AddFavoriteSticker
impl Unpin for AddFavoriteSticker
impl UnwindSafe for AddFavoriteSticker
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more