pub struct LinkPreviewTypeVideo {
pub video: Video,
pub cover: Option<Photo>,
pub start_timestamp: i32,
}Expand description
The link is a link to a video
Fields§
§video: VideoThe video description
cover: Option<Photo>Cover of the video; may be null if none
start_timestamp: i32Timestamp from which the video playing must start, in seconds
Trait Implementations§
Source§impl Clone for LinkPreviewTypeVideo
impl Clone for LinkPreviewTypeVideo
Source§fn clone(&self) -> LinkPreviewTypeVideo
fn clone(&self) -> LinkPreviewTypeVideo
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 LinkPreviewTypeVideo
impl Debug for LinkPreviewTypeVideo
Source§impl<'de> Deserialize<'de> for LinkPreviewTypeVideo
impl<'de> Deserialize<'de> for LinkPreviewTypeVideo
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 PartialEq for LinkPreviewTypeVideo
impl PartialEq for LinkPreviewTypeVideo
Source§impl Serialize for LinkPreviewTypeVideo
impl Serialize for LinkPreviewTypeVideo
impl StructuralPartialEq for LinkPreviewTypeVideo
Auto Trait Implementations§
impl Freeze for LinkPreviewTypeVideo
impl RefUnwindSafe for LinkPreviewTypeVideo
impl Send for LinkPreviewTypeVideo
impl Sync for LinkPreviewTypeVideo
impl Unpin for LinkPreviewTypeVideo
impl UnsafeUnpin for LinkPreviewTypeVideo
impl UnwindSafe for LinkPreviewTypeVideo
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