Struct peertube::data::Video[][src]

pub struct Video {
Show fields pub account: AccountSummary, pub blacklisted: Option<bool>, pub blacklisted_reason: Option<String>, pub category: Category, pub channel: ChannelSummary, pub created_at: DateTime<Utc>, pub description: String, pub dislikes: u32, pub duration: u32, pub embed_path: String, pub id: u32, pub is_like: Option<bool>, pub is_local: bool, pub language: Language, pub license: Option<License>, pub likes: u32, pub name: String, pub nsfw: bool, pub originally_published_at: Option<DateTime<Utc>>, pub preview_path: String, pub privacy: Privacy, pub published_at: DateTime<Utc>, pub scheduled_update: Option<ScheduledUpdate>, pub state: Option<State>, pub thumbnail_path: String, pub update_at: Option<DateTime<Utc>>, pub user_history: Option<UserHistory>, pub uuid: String, pub views: u32, pub wait_transcoding: Option<bool>,
}

Fields

account: AccountSummaryblacklisted: Option<bool>blacklisted_reason: Option<String>category: Categorychannel: ChannelSummarycreated_at: DateTime<Utc>description: Stringdislikes: u32duration: u32embed_path: Stringid: u32is_like: Option<bool>is_local: boollanguage: Languagelicense: Option<License>likes: u32name: Stringnsfw: booloriginally_published_at: Option<DateTime<Utc>>preview_path: Stringprivacy: Privacypublished_at: DateTime<Utc>scheduled_update: Option<ScheduledUpdate>state: Option<State>thumbnail_path: Stringupdate_at: Option<DateTime<Utc>>user_history: Option<UserHistory>uuid: Stringviews: u32wait_transcoding: Option<bool>

Trait Implementations

impl Debug for Video[src]

impl<'de> Deserialize<'de> for Video[src]

Auto Trait Implementations

impl RefUnwindSafe for Video

impl Send for Video

impl Sync for Video

impl Unpin for Video

impl UnwindSafe for Video

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.