Struct google_drive3::api::FileContentHintsThumbnail
source · pub struct FileContentHintsThumbnail {
pub image: Option<Vec<u8>>,
pub mime_type: Option<String>,
}
Expand description
A thumbnail for the file. This will only be used if Google Drive cannot generate a standard thumbnail.
This type is not used in any activity, and only used as part of another schema.
Fields§
§image: Option<Vec<u8>>
The thumbnail data encoded with URL-safe Base64 (RFC 4648 section 5).
mime_type: Option<String>
The MIME type of the thumbnail.
Trait Implementations§
source§impl Clone for FileContentHintsThumbnail
impl Clone for FileContentHintsThumbnail
source§fn clone(&self) -> FileContentHintsThumbnail
fn clone(&self) -> FileContentHintsThumbnail
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FileContentHintsThumbnail
impl Debug for FileContentHintsThumbnail
source§impl Default for FileContentHintsThumbnail
impl Default for FileContentHintsThumbnail
source§fn default() -> FileContentHintsThumbnail
fn default() -> FileContentHintsThumbnail
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for FileContentHintsThumbnail
impl<'de> Deserialize<'de> for FileContentHintsThumbnail
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 NestedType for FileContentHintsThumbnail
impl Part for FileContentHintsThumbnail
Auto Trait Implementations§
impl RefUnwindSafe for FileContentHintsThumbnail
impl Send for FileContentHintsThumbnail
impl Sync for FileContentHintsThumbnail
impl Unpin for FileContentHintsThumbnail
impl UnwindSafe for FileContentHintsThumbnail
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