pub struct GooglePrivacyDlpV2beta1Color {
pub red: Option<f32>,
pub green: Option<f32>,
pub blue: Option<f32>,
}Expand description
Represents a color in the RGB color space.
This type is not used in any activity, and only used as part of another schema.
Fields§
§red: Option<f32>The amount of red in the color as a value in the interval [0, 1].
green: Option<f32>The amount of green in the color as a value in the interval [0, 1].
blue: Option<f32>The amount of blue in the color as a value in the interval [0, 1].
Trait Implementations§
Source§impl Clone for GooglePrivacyDlpV2beta1Color
impl Clone for GooglePrivacyDlpV2beta1Color
Source§fn clone(&self) -> GooglePrivacyDlpV2beta1Color
fn clone(&self) -> GooglePrivacyDlpV2beta1Color
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 GooglePrivacyDlpV2beta1Color
impl Debug for GooglePrivacyDlpV2beta1Color
Source§impl Default for GooglePrivacyDlpV2beta1Color
impl Default for GooglePrivacyDlpV2beta1Color
Source§fn default() -> GooglePrivacyDlpV2beta1Color
fn default() -> GooglePrivacyDlpV2beta1Color
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GooglePrivacyDlpV2beta1Color
impl<'de> Deserialize<'de> for GooglePrivacyDlpV2beta1Color
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 GooglePrivacyDlpV2beta1Color
Auto Trait Implementations§
impl Freeze for GooglePrivacyDlpV2beta1Color
impl RefUnwindSafe for GooglePrivacyDlpV2beta1Color
impl Send for GooglePrivacyDlpV2beta1Color
impl Sync for GooglePrivacyDlpV2beta1Color
impl Unpin for GooglePrivacyDlpV2beta1Color
impl UnwindSafe for GooglePrivacyDlpV2beta1Color
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