Struct google_youtube3::Caption [−][src]
pub struct Caption { pub snippet: Option<CaptionSnippet>, pub kind: Option<String>, pub etag: Option<String>, pub id: Option<String>, }
A caption resource represents a YouTube caption track. A caption track is associated with exactly one 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).
- update captions (request|response)
- list captions (none)
- delete captions (none)
- insert captions (request|response)
- download captions (none)
Fields
snippet: Option<CaptionSnippet>
The snippet object contains basic details about the caption.
kind: Option<String>
Identifies what kind of resource this is. Value: the fixed string "youtube#caption".
etag: Option<String>
Etag of this resource.
id: Option<String>
The ID that YouTube uses to uniquely identify the caption track.
Trait Implementations
impl Default for Caption
[src]
impl Default for Caption
impl Clone for Caption
[src]
impl Clone for Caption
fn clone(&self) -> Caption
[src]
fn clone(&self) -> Caption
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Caption
[src]
impl Debug for Caption
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl RequestValue for Caption
[src]
impl RequestValue for Caption
impl Resource for Caption
[src]
impl Resource for Caption
impl ResponseResult for Caption
[src]
impl ResponseResult for Caption
impl ToParts for Caption
[src]
impl ToParts for Caption