pub struct MessageExtendedMediaVideo {
pub video: Video,
pub caption: FormattedText,
}
Expand description
The media is a video
Fields§
§video: Video
The video
caption: FormattedText
Photo caption
Trait Implementations§
Source§impl Clone for MessageExtendedMediaVideo
impl Clone for MessageExtendedMediaVideo
Source§fn clone(&self) -> MessageExtendedMediaVideo
fn clone(&self) -> MessageExtendedMediaVideo
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 MessageExtendedMediaVideo
impl Debug for MessageExtendedMediaVideo
Source§impl<'de> Deserialize<'de> for MessageExtendedMediaVideo
impl<'de> Deserialize<'de> for MessageExtendedMediaVideo
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
impl StructuralPartialEq for MessageExtendedMediaVideo
Auto Trait Implementations§
impl Freeze for MessageExtendedMediaVideo
impl RefUnwindSafe for MessageExtendedMediaVideo
impl Send for MessageExtendedMediaVideo
impl Sync for MessageExtendedMediaVideo
impl Unpin for MessageExtendedMediaVideo
impl UnwindSafe for MessageExtendedMediaVideo
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