pub struct DriveTheme {
pub id: Option<String>,
pub background_image_link: Option<String>,
pub color_rgb: Option<String>,
}Expand description
A list of themes that are supported for shared drives.
Fields§
§id: Option<String>The ID of the theme.
background_image_link: Option<String>A link to this theme’s background image.
color_rgb: Option<String>The color of this theme as an RGB hex string.
Implementations§
Source§impl DriveTheme
impl DriveTheme
Trait Implementations§
Source§impl Clone for DriveTheme
impl Clone for DriveTheme
Source§fn clone(&self) -> DriveTheme
fn clone(&self) -> DriveTheme
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 DriveTheme
impl Debug for DriveTheme
Source§impl Default for DriveTheme
impl Default for DriveTheme
Source§fn default() -> DriveTheme
fn default() -> DriveTheme
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DriveTheme
impl<'de> Deserialize<'de> for DriveTheme
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 DriveTheme
impl Display for DriveTheme
Auto Trait Implementations§
impl Freeze for DriveTheme
impl RefUnwindSafe for DriveTheme
impl Send for DriveTheme
impl Sync for DriveTheme
impl Unpin for DriveTheme
impl UnwindSafe for DriveTheme
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