Struct google_youtube3::api::Thumbnail
source · pub struct Thumbnail {
pub height: Option<u32>,
pub url: Option<String>,
pub width: Option<u32>,
}
Expand description
A thumbnail is an image representing a YouTube resource.
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).
- set thumbnails (none)
Fields§
§height: Option<u32>
(Optional) Height of the thumbnail image.
url: Option<String>
The thumbnail image’s URL.
width: Option<u32>
(Optional) Width of the thumbnail image.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Thumbnail
impl<'de> Deserialize<'de> for Thumbnail
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Resource for Thumbnail
Auto Trait Implementations§
impl RefUnwindSafe for Thumbnail
impl Send for Thumbnail
impl Sync for Thumbnail
impl Unpin for Thumbnail
impl UnwindSafe for Thumbnail
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more