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§
source§impl AsRef<AddSavedAnimation> for AddSavedAnimation
impl AsRef<AddSavedAnimation> for AddSavedAnimation
source§fn as_ref(&self) -> &AddSavedAnimation
fn as_ref(&self) -> &AddSavedAnimation
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for AddSavedAnimation
impl Clone for AddSavedAnimation
source§fn clone(&self) -> AddSavedAnimation
fn clone(&self) -> AddSavedAnimation
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 AddSavedAnimation
impl Debug for AddSavedAnimation
source§impl Default for AddSavedAnimation
impl Default for AddSavedAnimation
source§fn default() -> AddSavedAnimation
fn default() -> AddSavedAnimation
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AddSavedAnimation
impl<'de> Deserialize<'de> for AddSavedAnimation
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