pub struct AddSavedAnimation {
pub animation: InputFile,
}
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
Fields§
§animation: InputFile
The animation file to be added. Only animations known to the server (i.e. successfully sent via a message) can be added to the list
Trait Implementations§
Source§impl Clone for AddSavedAnimation
impl Clone for AddSavedAnimation
Source§fn clone(&self) -> AddSavedAnimation
fn clone(&self) -> AddSavedAnimation
Returns a duplicate 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<'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
Source§impl Method for AddSavedAnimation
impl Method for AddSavedAnimation
Auto Trait Implementations§
impl Freeze for AddSavedAnimation
impl RefUnwindSafe for AddSavedAnimation
impl Send for AddSavedAnimation
impl Sync for AddSavedAnimation
impl Unpin for AddSavedAnimation
impl UnwindSafe for AddSavedAnimation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more