pub struct VideoMetadata {
pub aid: u64,
pub bvid: Option<String>,
pub title: String,
pub description: String,
pub cover_url: Option<String>,
pub pub_time: Option<i64>,
pub owner: Option<Owner>,
pub tags: Vec<Tag>,
pub pages: Vec<PageMetadata>,
}Fields§
§aid: u64§bvid: Option<String>§title: String§description: String§cover_url: Option<String>§pub_time: Option<i64>§owner: Option<Owner>§pages: Vec<PageMetadata>Trait Implementations§
Source§impl Clone for VideoMetadata
impl Clone for VideoMetadata
Source§fn clone(&self) -> VideoMetadata
fn clone(&self) -> VideoMetadata
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 VideoMetadata
impl Debug for VideoMetadata
Source§impl<'de> Deserialize<'de> for VideoMetadata
impl<'de> Deserialize<'de> for VideoMetadata
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 Eq for VideoMetadata
Source§impl PartialEq for VideoMetadata
impl PartialEq for VideoMetadata
Source§fn eq(&self, other: &VideoMetadata) -> bool
fn eq(&self, other: &VideoMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for VideoMetadata
impl Serialize for VideoMetadata
impl StructuralPartialEq for VideoMetadata
Auto Trait Implementations§
impl Freeze for VideoMetadata
impl RefUnwindSafe for VideoMetadata
impl Send for VideoMetadata
impl Sync for VideoMetadata
impl Unpin for VideoMetadata
impl UnsafeUnpin for VideoMetadata
impl UnwindSafe for VideoMetadata
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