[−][src]Struct google_youtube3::Video
A video resource represents a YouTube video.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- rate videos (none)
- report abuse videos (none)
- get rating videos (none)
- list videos (none)
- insert videos (request|response)
- update videos (request|response)
- delete videos (none)
Fields
status: Option<VideoStatus>
The status object contains information about the video's uploading, processing, and privacy statuses.
topic_details: Option<VideoTopicDetails>
The topicDetails object encapsulates information about Freebase topics associated with the video.
monetization_details: Option<VideoMonetizationDetails>
The monetizationDetails object encapsulates information about the monetization status of the video.
suggestions: Option<VideoSuggestions>
The suggestions object encapsulates suggestions that identify opportunities to improve the video quality or the metadata for the uploaded video. This data can only be retrieved by the video owner.
age_gating: Option<VideoAgeGating>
Age restriction details related to a video. This data can only be retrieved by the video owner.
file_details: Option<VideoFileDetails>
The fileDetails object encapsulates information about the video file that was uploaded to YouTube, including the file's resolution, duration, audio and video codecs, stream bitrates, and more. This data can only be retrieved by the video owner.
player: Option<VideoPlayer>
The player object contains information that you would use to play the video in an embedded player.
id: Option<String>
The ID that YouTube uses to uniquely identify the video.
localizations: Option<HashMap<String, VideoLocalization>>
List with all localizations.
live_streaming_details: Option<VideoLiveStreamingDetails>
The liveStreamingDetails object contains metadata about a live video broadcast. The object will only be present in a video resource if the video is an upcoming, live, or completed live broadcast.
snippet: Option<VideoSnippet>
The snippet object contains basic details about the video, such as its title, description, and category.
kind: Option<String>
Identifies what kind of resource this is. Value: the fixed string "youtube#video".
statistics: Option<VideoStatistics>
The statistics object contains statistics about the video.
project_details: Option<VideoProjectDetails>
The projectDetails object contains information about the project specific video metadata.
processing_details: Option<VideoProcessingDetails>
The processingDetails object encapsulates information about YouTube's progress in processing the uploaded video file. The properties in the object identify the current processing status and an estimate of the time remaining until YouTube finishes processing the video. This part also indicates whether different types of data or content, such as file details or thumbnail images, are available for the video.
The processingProgress object is designed to be polled so that the video uploaded can track the progress that YouTube has made in processing the uploaded video file. This data can only be retrieved by the video owner.
etag: Option<String>
Etag of this resource.
content_details: Option<VideoContentDetails>
The contentDetails object contains information about the video content, including the length of the video and its aspect ratio.
recording_details: Option<VideoRecordingDetails>
The recordingDetails object encapsulates information about the location, date and address where the video was recorded.
Trait Implementations
impl Clone for Video
[src]
impl Debug for Video
[src]
impl Default 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 RequestValue for Video
[src]
impl Resource for Video
[src]
impl ResponseResult for Video
[src]
impl Serialize for Video
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl ToParts 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]
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,