pub struct JourneyEventAttribute {
pub key: String,
pub operator: OperatorType,
pub value: Option<String>,
}Fields§
§key: StringEvent attribute key.
operator: OperatorTypeComparison operator.
value: Option<String>Value to compare against. Not required for exists and not_exists.
Implementations§
Source§impl JourneyEventAttribute
impl JourneyEventAttribute
pub fn new(key: String, operator: OperatorType) -> JourneyEventAttribute
Trait Implementations§
Source§impl Clone for JourneyEventAttribute
impl Clone for JourneyEventAttribute
Source§fn clone(&self) -> JourneyEventAttribute
fn clone(&self) -> JourneyEventAttribute
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 JourneyEventAttribute
impl Debug for JourneyEventAttribute
Source§impl Default for JourneyEventAttribute
impl Default for JourneyEventAttribute
Source§fn default() -> JourneyEventAttribute
fn default() -> JourneyEventAttribute
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for JourneyEventAttribute
impl<'de> Deserialize<'de> for JourneyEventAttribute
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 JourneyEventAttribute
impl PartialEq for JourneyEventAttribute
Source§impl Serialize for JourneyEventAttribute
impl Serialize for JourneyEventAttribute
impl StructuralPartialEq for JourneyEventAttribute
Auto Trait Implementations§
impl Freeze for JourneyEventAttribute
impl RefUnwindSafe for JourneyEventAttribute
impl Send for JourneyEventAttribute
impl Sync for JourneyEventAttribute
impl Unpin for JourneyEventAttribute
impl UnsafeUnpin for JourneyEventAttribute
impl UnwindSafe for JourneyEventAttribute
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