pub struct GooglePrivacyDlpV2Value {
pub boolean_value: Option<bool>,
pub date_value: Option<GoogleTypeDate>,
pub day_of_week_value: Option<String>,
pub float_value: Option<f64>,
pub integer_value: Option<i64>,
pub string_value: Option<String>,
pub time_value: Option<GoogleTypeTimeOfDay>,
pub timestamp_value: Option<DateTime<Utc>>,
}Expand description
Set of primitive values supported by the system. Note that for the purposes of inspection or transformation, the number of bytes considered to comprise a ‘Value’ is based on its representation as a UTF-8 encoded string. For example, if ‘integer_value’ is set to 123456789, the number of bytes would be counted as 9, even though an int64 only holds up to 8 bytes of data.
This type is not used in any activity, and only used as part of another schema.
Fields§
§boolean_value: Option<bool>boolean
date_value: Option<GoogleTypeDate>date
day_of_week_value: Option<String>day of week
float_value: Option<f64>float
integer_value: Option<i64>integer
string_value: Option<String>string
time_value: Option<GoogleTypeTimeOfDay>time of day
timestamp_value: Option<DateTime<Utc>>timestamp
Trait Implementations§
Source§impl Clone for GooglePrivacyDlpV2Value
impl Clone for GooglePrivacyDlpV2Value
Source§fn clone(&self) -> GooglePrivacyDlpV2Value
fn clone(&self) -> GooglePrivacyDlpV2Value
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 GooglePrivacyDlpV2Value
impl Debug for GooglePrivacyDlpV2Value
Source§impl Default for GooglePrivacyDlpV2Value
impl Default for GooglePrivacyDlpV2Value
Source§fn default() -> GooglePrivacyDlpV2Value
fn default() -> GooglePrivacyDlpV2Value
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GooglePrivacyDlpV2Value
impl<'de> Deserialize<'de> for GooglePrivacyDlpV2Value
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 GooglePrivacyDlpV2Value
impl Serialize for GooglePrivacyDlpV2Value
impl Part for GooglePrivacyDlpV2Value
Auto Trait Implementations§
impl Freeze for GooglePrivacyDlpV2Value
impl RefUnwindSafe for GooglePrivacyDlpV2Value
impl Send for GooglePrivacyDlpV2Value
impl Sync for GooglePrivacyDlpV2Value
impl Unpin for GooglePrivacyDlpV2Value
impl UnwindSafe for GooglePrivacyDlpV2Value
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