Struct google_dlp2::api::GooglePrivacyDlpV2Color
source · pub struct GooglePrivacyDlpV2Color {
pub blue: Option<f32>,
pub green: Option<f32>,
pub red: 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§
§blue: Option<f32>
The amount of blue 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].
red: Option<f32>
The amount of red in the color as a value in the interval [0, 1].
Trait Implementations§
source§impl Clone for GooglePrivacyDlpV2Color
impl Clone for GooglePrivacyDlpV2Color
source§fn clone(&self) -> GooglePrivacyDlpV2Color
fn clone(&self) -> GooglePrivacyDlpV2Color
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 GooglePrivacyDlpV2Color
impl Debug for GooglePrivacyDlpV2Color
source§impl Default for GooglePrivacyDlpV2Color
impl Default for GooglePrivacyDlpV2Color
source§fn default() -> GooglePrivacyDlpV2Color
fn default() -> GooglePrivacyDlpV2Color
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GooglePrivacyDlpV2Color
impl<'de> Deserialize<'de> for GooglePrivacyDlpV2Color
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 Serialize for GooglePrivacyDlpV2Color
impl Serialize for GooglePrivacyDlpV2Color
impl Part for GooglePrivacyDlpV2Color
Auto Trait Implementations§
impl RefUnwindSafe for GooglePrivacyDlpV2Color
impl Send for GooglePrivacyDlpV2Color
impl Sync for GooglePrivacyDlpV2Color
impl Unpin for GooglePrivacyDlpV2Color
impl UnwindSafe for GooglePrivacyDlpV2Color
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