Struct google_youtube3::Thumbnail [] [src]

pub struct Thumbnail {
    pub url: Option<String>,
    pub width: Option<u32>,
    pub height: Option<u32>,

A thumbnail is an image representing a YouTube resource.


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).


The thumbnail image's URL.

(Optional) Width of the thumbnail image.

(Optional) Height of the thumbnail image.

Trait Implementations

impl Default for Thumbnail

Returns the "default value" for a type. Read more

impl Clone for Thumbnail

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Thumbnail

Formats the value using the given formatter.

impl Resource for Thumbnail