Struct google_docs1::api::RgbColor
source · pub struct RgbColor {
pub blue: Option<f32>,
pub green: Option<f32>,
pub red: Option<f32>,
}
Expand description
An RGB color.
This type is not used in any activity, and only used as part of another schema.
Fields§
§blue: Option<f32>
The blue component of the color, from 0.0 to 1.0.
green: Option<f32>
The green component of the color, from 0.0 to 1.0.
red: Option<f32>
The red component of the color, from 0.0 to 1.0.
Trait Implementations§
source§impl<'de> Deserialize<'de> for RgbColor
impl<'de> Deserialize<'de> for RgbColor
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 Part for RgbColor
Auto Trait Implementations§
impl RefUnwindSafe for RgbColor
impl Send for RgbColor
impl Sync for RgbColor
impl Unpin for RgbColor
impl UnwindSafe for RgbColor
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