Struct google_dlp2_beta1::GooglePrivacyDlpV2beta1Condition [−][src]
pub struct GooglePrivacyDlpV2beta1Condition { pub operator: Option<String>, pub field: Option<GooglePrivacyDlpV2beta1FieldId>, pub value: Option<GooglePrivacyDlpV2beta1Value>, }
The field type of value
and field
do not need to match to be
considered equal, but not all comparisons are possible.
A value
of type:
string
can be compared against all other typesboolean
can only be compared against other booleansinteger
can be compared against doubles or a string if the string value can be parsed as an integer.double
can be compared against integers or a string if the string can be parsed as a double.Timestamp
can be compared against strings in RFC 3339 date string format.TimeOfDay
can be compared against timestamps and strings in the format of 'HH:mm:ss'.
If we fail to compare do to type mismatch, a warning will be given and the condition will evaluate to false.
This type is not used in any activity, and only used as part of another schema.
Fields
operator: Option<String>
Operator used to compare the field or info type to the value. [required]
field: Option<GooglePrivacyDlpV2beta1FieldId>
Field within the record this condition is evaluated against. [required]
value: Option<GooglePrivacyDlpV2beta1Value>
Value to compare against. [Required, except for EXISTS
tests.]
Trait Implementations
impl Default for GooglePrivacyDlpV2beta1Condition
[src]
impl Default for GooglePrivacyDlpV2beta1Condition
fn default() -> GooglePrivacyDlpV2beta1Condition
[src]
fn default() -> GooglePrivacyDlpV2beta1Condition
Returns the "default value" for a type. Read more
impl Clone for GooglePrivacyDlpV2beta1Condition
[src]
impl Clone for GooglePrivacyDlpV2beta1Condition
fn clone(&self) -> GooglePrivacyDlpV2beta1Condition
[src]
fn clone(&self) -> GooglePrivacyDlpV2beta1Condition
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for GooglePrivacyDlpV2beta1Condition
[src]
impl Debug for GooglePrivacyDlpV2beta1Condition
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for GooglePrivacyDlpV2beta1Condition
[src]
impl Part for GooglePrivacyDlpV2beta1Condition
Auto Trait Implementations
impl Send for GooglePrivacyDlpV2beta1Condition
impl Send for GooglePrivacyDlpV2beta1Condition
impl Sync for GooglePrivacyDlpV2beta1Condition
impl Sync for GooglePrivacyDlpV2beta1Condition