pub struct InputProfilePhotoAnimated {
pub animation: String,
pub main_frame_timestamp: Option<f64>,
}Expand description
An animated profile photo in MPEG4 format.
Fields§
§animation: StringThe animation file.
Profile photos cannot be reused — upload as a new file using
"attach://<n>" via multipart/form-data.
main_frame_timestamp: Option<f64>Timestamp in seconds of the frame to use as the static profile photo.
Defaults to 0.0.
Trait Implementations§
Source§impl Clone for InputProfilePhotoAnimated
impl Clone for InputProfilePhotoAnimated
Source§fn clone(&self) -> InputProfilePhotoAnimated
fn clone(&self) -> InputProfilePhotoAnimated
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 InputProfilePhotoAnimated
impl Debug for InputProfilePhotoAnimated
Source§impl<'de> Deserialize<'de> for InputProfilePhotoAnimated
impl<'de> Deserialize<'de> for InputProfilePhotoAnimated
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
Auto Trait Implementations§
impl Freeze for InputProfilePhotoAnimated
impl RefUnwindSafe for InputProfilePhotoAnimated
impl Send for InputProfilePhotoAnimated
impl Sync for InputProfilePhotoAnimated
impl Unpin for InputProfilePhotoAnimated
impl UnsafeUnpin for InputProfilePhotoAnimated
impl UnwindSafe for InputProfilePhotoAnimated
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