pub struct InlineVideo {
pub position: Option<u32>,
pub title: Option<String>,
pub link: Option<String>,
pub thumbnail: Option<String>,
pub channel: Option<String>,
pub duration: Option<String>,
pub platform: Option<String>,
pub date: Option<String>,
pub key_moments: Option<Vec<KeyMoment>>,
}
Expand description
Inline video result
Fields§
§position: Option<u32>
§title: Option<String>
§link: Option<String>
§thumbnail: Option<String>
§channel: Option<String>
§duration: Option<String>
§platform: Option<String>
§date: Option<String>
§key_moments: Option<Vec<KeyMoment>>
Trait Implementations§
Source§impl Clone for InlineVideo
impl Clone for InlineVideo
Source§fn clone(&self) -> InlineVideo
fn clone(&self) -> InlineVideo
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 InlineVideo
impl Debug for InlineVideo
Source§impl<'de> Deserialize<'de> for InlineVideo
impl<'de> Deserialize<'de> for InlineVideo
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 InlineVideo
impl RefUnwindSafe for InlineVideo
impl Send for InlineVideo
impl Sync for InlineVideo
impl Unpin for InlineVideo
impl UnwindSafe for InlineVideo
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