pub struct InlineQueryResultVideo {
pub id: String,
pub video: Video,
pub title: String,
pub description: String,
}
Expand description
Represents a video
Fields§
§id: String
Unique identifier of the query result
video: Video
Video
title: String
Title of the video
description: String
Description of the video
Trait Implementations§
Source§impl Clone for InlineQueryResultVideo
impl Clone for InlineQueryResultVideo
Source§fn clone(&self) -> InlineQueryResultVideo
fn clone(&self) -> InlineQueryResultVideo
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 InlineQueryResultVideo
impl Debug for InlineQueryResultVideo
Source§impl<'de> Deserialize<'de> for InlineQueryResultVideo
impl<'de> Deserialize<'de> for InlineQueryResultVideo
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 InlineQueryResultVideo
impl RefUnwindSafe for InlineQueryResultVideo
impl Send for InlineQueryResultVideo
impl Sync for InlineQueryResultVideo
impl Unpin for InlineQueryResultVideo
impl UnwindSafe for InlineQueryResultVideo
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