Struct rust_tdlib::types::AddFavoriteSticker [−][src]
pub struct AddFavoriteSticker { /* fields omitted */ }
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
impl AsRef<AddFavoriteSticker> for AddFavoriteSticker
[src]
impl AsRef<AddFavoriteSticker> for AddFavoriteSticker
[src]fn as_ref(&self) -> &AddFavoriteSticker
[src]
fn as_ref(&self) -> &AddFavoriteSticker
[src]Performs the conversion.
impl Clone for AddFavoriteSticker
[src]
impl Clone for AddFavoriteSticker
[src]fn clone(&self) -> AddFavoriteSticker
[src]
fn clone(&self) -> AddFavoriteSticker
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for AddFavoriteSticker
[src]
impl Debug for AddFavoriteSticker
[src]impl Default for AddFavoriteSticker
[src]
impl Default for AddFavoriteSticker
[src]fn default() -> AddFavoriteSticker
[src]
fn default() -> AddFavoriteSticker
[src]Returns the “default value” for a type. Read more
impl<'de> Deserialize<'de> for AddFavoriteSticker
[src]
impl<'de> Deserialize<'de> for AddFavoriteSticker
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl Serialize for AddFavoriteSticker
[src]
impl Serialize for AddFavoriteSticker
[src]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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,