pub struct PropertyCondition {
pub key: String,
pub operator: PropertyConditionOperator,
pub value: Option<PropertyConditionValue>,
/* private fields */
}Expand description
Matches contacts by a property value.
Fields§
§key: StringThe contact property name.
operator: PropertyConditionOperator§value: Option<PropertyConditionValue>The comparison value. Omitted for value-less operators (e.g. isTrue, empty). A { from, to } object for between.
Trait Implementations§
Source§impl Clone for PropertyCondition
impl Clone for PropertyCondition
Source§impl Debug for PropertyCondition
impl Debug for PropertyCondition
Source§impl Default for PropertyCondition
impl Default for PropertyCondition
Source§impl<'de> Deserialize<'de> for PropertyConditionwhere
PropertyCondition: Default,
impl<'de> Deserialize<'de> for PropertyConditionwhere
PropertyCondition: Default,
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 PartialEq for PropertyCondition
impl PartialEq for PropertyCondition
Source§impl Serialize for PropertyCondition
impl Serialize for PropertyCondition
impl StructuralPartialEq for PropertyCondition
Source§impl Validate for PropertyCondition
impl Validate for PropertyCondition
Source§impl<'v_a> ValidateArgs<'v_a> for PropertyCondition
impl<'v_a> ValidateArgs<'v_a> for PropertyCondition
Auto Trait Implementations§
impl Freeze for PropertyCondition
impl RefUnwindSafe for PropertyCondition
impl Send for PropertyCondition
impl Sync for PropertyCondition
impl Unpin for PropertyCondition
impl UnsafeUnpin for PropertyCondition
impl UnwindSafe for PropertyCondition
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