[−][src]Struct google_youtube3::VideoContentDetails
Details about the content of a YouTube Video.
This type is not used in any activity, and only used as part of another schema.
Fields
definition: Option<String>
The value of definition indicates whether the video is available in high definition or only in standard definition.
projection: Option<String>
Specifies the projection format of the video.
country_restriction: Option<AccessPolicy>
The countryRestriction object contains information about the countries where a video is (or is not) viewable.
has_custom_thumbnail: Option<bool>
Indicates whether the video uploader has provided a custom thumbnail image for the video. This property is only visible to the video uploader.
content_rating: Option<ContentRating>
Specifies the ratings that the video received under various rating schemes.
The value of captions indicates whether the video has captions or not.
region_restriction: Option<VideoContentDetailsRegionRestriction>
The regionRestriction object contains information about the countries where a video is (or is not) viewable. The object will contain either the contentDetails.regionRestriction.allowed property or the contentDetails.regionRestriction.blocked property.
duration: Option<String>
The length of the video. The tag value is an ISO 8601 duration in the format PT#M#S, in which the letters PT indicate that the value specifies a period of time, and the letters M and S refer to length in minutes and seconds, respectively. The # characters preceding the M and S letters are both integers that specify the number of minutes (or seconds) of the video. For example, a value of PT15M51S indicates that the video is 15 minutes and 51 seconds long.
licensed_content: Option<bool>
The value of is_license_content indicates whether the video is licensed content.
dimension: Option<String>
The value of dimension indicates whether the video is available in 3D or in 2D.
Trait Implementations
impl Clone for VideoContentDetails
[src]
fn clone(&self) -> VideoContentDetails
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for VideoContentDetails
[src]
impl Default for VideoContentDetails
[src]
fn default() -> VideoContentDetails
[src]
impl<'de> Deserialize<'de> for VideoContentDetails
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Part for VideoContentDetails
[src]
impl Serialize for VideoContentDetails
[src]
Auto Trait Implementations
impl RefUnwindSafe for VideoContentDetails
impl Send for VideoContentDetails
impl Sync for VideoContentDetails
impl Unpin for VideoContentDetails
impl UnwindSafe for VideoContentDetails
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,
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, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
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.
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.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,