Struct rust_tdlib::types::AddSavedAnimation
source · [−]pub struct AddSavedAnimation { /* private fields */ }Expand description
Manually adds a new animation to the list of saved animations. The new animation is added to the beginning of the list. If the animation was already in the list, it is removed first. Only non-secret video animations with MIME type “video/mp4” can be added to the list
Implementations
Trait Implementations
sourceimpl AsRef<AddSavedAnimation> for AddSavedAnimation
impl AsRef<AddSavedAnimation> for AddSavedAnimation
sourcefn as_ref(&self) -> &AddSavedAnimation
fn as_ref(&self) -> &AddSavedAnimation
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for AddSavedAnimation
impl Clone for AddSavedAnimation
sourcefn clone(&self) -> AddSavedAnimation
fn clone(&self) -> AddSavedAnimation
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 AddSavedAnimation
impl Debug for AddSavedAnimation
sourceimpl Default for AddSavedAnimation
impl Default for AddSavedAnimation
sourcefn default() -> AddSavedAnimation
fn default() -> AddSavedAnimation
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for AddSavedAnimation
impl<'de> Deserialize<'de> for AddSavedAnimation
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 AddSavedAnimation
impl Serialize for AddSavedAnimation
Auto Trait Implementations
impl RefUnwindSafe for AddSavedAnimation
impl Send for AddSavedAnimation
impl Sync for AddSavedAnimation
impl Unpin for AddSavedAnimation
impl UnwindSafe for AddSavedAnimation
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