Struct twitch_api2::helix::videos::Video [−][src]
This is supported on crate feature
helix
only.Return Values for Get Videos
Fields (Non-exhaustive)
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct {{ .. }}
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.created_at: Timestamp
Date when the video was created.
description: String
Description of the video.
duration: String
Length of the video.
id: VideoId
ID of the video.
language: String
Language of the video.
published_at: Timestamp
Date when the video was published.
thumbnail_url: String
Template URL for the thumbnail of the video.
title: String
Title of the video.
type_: VideoType
Type of video. Valid values: "upload", "archive", "highlight".
url: String
URL of the video.
user_id: UserId
ID of the user who owns the video.
user_name: DisplayName
Display name corresponding to user_id.
user_login: UserName
Login of the user who owns the video.
view_count: i64
Number of times the video has been viewed.
viewable: VideoPrivacy
Indicates whether the video is publicly viewable. Valid values: "public", "private".
Trait Implementations
impl Clone for Video
[src]
impl Debug for Video
[src]
impl<'de> Deserialize<'de> for Video
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<Video> for Video
[src]
impl StructuralPartialEq for Video
[src]
Auto Trait Implementations
impl RefUnwindSafe for Video
[src]
impl Send for Video
[src]
impl Sync for Video
[src]
impl Unpin for Video
[src]
impl UnwindSafe for Video
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,