Struct rust_tdlib::types::AddRecentSticker  
source · [−]pub struct AddRecentSticker { /* private fields */ }Expand description
Manually adds a new sticker to the list of recently used 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<AddRecentSticker> for AddRecentSticker
 
impl AsRef<AddRecentSticker> for AddRecentSticker
sourcefn as_ref(&self) -> &AddRecentSticker
 
fn as_ref(&self) -> &AddRecentSticker
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for AddRecentSticker
 
impl Clone for AddRecentSticker
sourcefn clone(&self) -> AddRecentSticker
 
fn clone(&self) -> AddRecentSticker
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 AddRecentSticker
 
impl Debug for AddRecentSticker
sourceimpl Default for AddRecentSticker
 
impl Default for AddRecentSticker
sourcefn default() -> AddRecentSticker
 
fn default() -> AddRecentSticker
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for AddRecentSticker
 
impl<'de> Deserialize<'de> for AddRecentSticker
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 AddRecentSticker
 
impl Serialize for AddRecentSticker
Auto Trait Implementations
impl RefUnwindSafe for AddRecentSticker
impl Send for AddRecentSticker
impl Sync for AddRecentSticker
impl Unpin for AddRecentSticker
impl UnwindSafe for AddRecentSticker
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