[−][src]Struct google_dlp2::GooglePrivacyDlpV2Condition
The field type of value
and field
do not need to match to be
considered equal, but not all comparisons are possible.
EQUAL_TO and NOT_EQUAL_TO attempt to compare even with incompatible types,
but all other comparisons are invalid with incompatible types.
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>
Required. Operator used to compare the field or infoType to the value.
field: Option<GooglePrivacyDlpV2FieldId>
Required. Field within the record this condition is evaluated against.
value: Option<GooglePrivacyDlpV2Value>
Value to compare against. [Mandatory, except for EXISTS
tests.]
Trait Implementations
impl Clone for GooglePrivacyDlpV2Condition
[src]
fn clone(&self) -> GooglePrivacyDlpV2Condition
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for GooglePrivacyDlpV2Condition
[src]
impl Default for GooglePrivacyDlpV2Condition
[src]
impl<'de> Deserialize<'de> for GooglePrivacyDlpV2Condition
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Part for GooglePrivacyDlpV2Condition
[src]
impl Serialize for GooglePrivacyDlpV2Condition
[src]
Auto Trait Implementations
impl RefUnwindSafe for GooglePrivacyDlpV2Condition
impl Send for GooglePrivacyDlpV2Condition
impl Sync for GooglePrivacyDlpV2Condition
impl Unpin for GooglePrivacyDlpV2Condition
impl UnwindSafe for GooglePrivacyDlpV2Condition
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,