pub struct GooglePrivacyDlpV2beta1Condition {
pub field: Option<GooglePrivacyDlpV2beta1FieldId>,
pub operator: Option<String>,
pub value: Option<GooglePrivacyDlpV2beta1Value>,
}
Expand description
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§
§field: Option<GooglePrivacyDlpV2beta1FieldId>
Field within the record this condition is evaluated against. [required]
operator: Option<String>
Operator used to compare the field or info type to the value. [required]
value: Option<GooglePrivacyDlpV2beta1Value>
Value to compare against. [Required, except for EXISTS
tests.]
Trait Implementations§
source§impl Clone for GooglePrivacyDlpV2beta1Condition
impl Clone for GooglePrivacyDlpV2beta1Condition
source§fn clone(&self) -> GooglePrivacyDlpV2beta1Condition
fn clone(&self) -> GooglePrivacyDlpV2beta1Condition
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 Default for GooglePrivacyDlpV2beta1Condition
impl Default for GooglePrivacyDlpV2beta1Condition
source§fn default() -> GooglePrivacyDlpV2beta1Condition
fn default() -> GooglePrivacyDlpV2beta1Condition
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GooglePrivacyDlpV2beta1Condition
impl<'de> Deserialize<'de> for GooglePrivacyDlpV2beta1Condition
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 GooglePrivacyDlpV2beta1Condition
Auto Trait Implementations§
impl RefUnwindSafe for GooglePrivacyDlpV2beta1Condition
impl Send for GooglePrivacyDlpV2beta1Condition
impl Sync for GooglePrivacyDlpV2beta1Condition
impl Unpin for GooglePrivacyDlpV2beta1Condition
impl UnwindSafe for GooglePrivacyDlpV2beta1Condition
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