pub struct InputRichBlockAnimation {
pub animation: InputMediaAnimation,
pub caption: Option<RichBlockCaption>,
}Expand description
An animation block (<video>). Caption on the inner media is ignored —
use this block’s own caption instead.
Fields§
§animation: InputMediaAnimationThe animation.
caption: Option<RichBlockCaption>Caption of the block.
Trait Implementations§
Source§impl Clone for InputRichBlockAnimation
impl Clone for InputRichBlockAnimation
Source§fn clone(&self) -> InputRichBlockAnimation
fn clone(&self) -> InputRichBlockAnimation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InputRichBlockAnimation
impl Debug for InputRichBlockAnimation
Source§impl<'de> Deserialize<'de> for InputRichBlockAnimation
impl<'de> Deserialize<'de> for InputRichBlockAnimation
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 InputRichBlockAnimation
impl RefUnwindSafe for InputRichBlockAnimation
impl Send for InputRichBlockAnimation
impl Sync for InputRichBlockAnimation
impl Unpin for InputRichBlockAnimation
impl UnsafeUnpin for InputRichBlockAnimation
impl UnwindSafe for InputRichBlockAnimation
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