pub struct MatchPredicate {
pub _type: MatchPredicateTypeEnum,
pub matcher: Option<String>,
pub part: MatchPredicatePartEnum,
pub children: Vec<MatchPredicate>,
}Fields§
§_type: MatchPredicateTypeEnum§matcher: Option<String>Required if the type is contains, exactly or regex.
part: MatchPredicatePartEnumThe email field that will attempt to use the matcher expression. Required if the type is contains, exactly or regex.
children: Vec<MatchPredicate>Additional matchers to be run. Must be not empty if the type is all, any, or not.
Trait Implementations§
Source§impl Clone for MatchPredicate
impl Clone for MatchPredicate
Source§fn clone(&self) -> MatchPredicate
fn clone(&self) -> MatchPredicate
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 MatchPredicate
impl Debug for MatchPredicate
Source§impl Default for MatchPredicate
impl Default for MatchPredicate
Source§fn default() -> MatchPredicate
fn default() -> MatchPredicate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MatchPredicate
impl<'de> Deserialize<'de> for MatchPredicate
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 MatchPredicate
impl PartialEq for MatchPredicate
Source§impl Serialize for MatchPredicate
impl Serialize for MatchPredicate
impl StructuralPartialEq for MatchPredicate
Auto Trait Implementations§
impl Freeze for MatchPredicate
impl RefUnwindSafe for MatchPredicate
impl Send for MatchPredicate
impl Sync for MatchPredicate
impl Unpin for MatchPredicate
impl UnwindSafe for MatchPredicate
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