pub struct ContentHints {
pub indexable_text: Option<String>,
pub thumbnail: Option<Thumbnail>,
}Expand description
Additional information about the content of the file.
Fields§
§indexable_text: Option<String>Text to be indexed for the file to improve fullText queries. This is limited to 128KB in length and may contain HTML elements.
thumbnail: Option<Thumbnail>A thumbnail for the file. This will only be used if Google Drive cannot generate a standard thumbnail.
Implementations§
Source§impl ContentHints
impl ContentHints
Trait Implementations§
Source§impl Clone for ContentHints
impl Clone for ContentHints
Source§fn clone(&self) -> ContentHints
fn clone(&self) -> ContentHints
Returns a duplicate 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 ContentHints
impl Debug for ContentHints
Source§impl Default for ContentHints
impl Default for ContentHints
Source§fn default() -> ContentHints
fn default() -> ContentHints
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContentHints
impl<'de> Deserialize<'de> for ContentHints
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
Source§impl Display for ContentHints
impl Display for ContentHints
Auto Trait Implementations§
impl Freeze for ContentHints
impl RefUnwindSafe for ContentHints
impl Send for ContentHints
impl Sync for ContentHints
impl Unpin for ContentHints
impl UnwindSafe for ContentHints
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