pub struct EventDataFilter {
pub use_data: bool,
pub data: Option<String>,
pub to_state_data: Option<String>,
}Expand description
Event data filter
Fields§
§use_data: boolIf set to false, event payload is not added/merged to state data.
In this case data and to_state_data should be ignored. Default is true.
data: Option<String>Workflow expression that filters the received event payload (default: ${ . })
to_state_data: Option<String>Workflow expression that selects a state data element to which the filtered event should be added/merged into.
If not specified, denotes, the top-level state data element.
Trait Implementations§
Source§impl Clone for EventDataFilter
impl Clone for EventDataFilter
Source§fn clone(&self) -> EventDataFilter
fn clone(&self) -> EventDataFilter
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 EventDataFilter
impl Debug for EventDataFilter
Source§impl<'de> Deserialize<'de> for EventDataFilter
impl<'de> Deserialize<'de> for EventDataFilter
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 Serialize for EventDataFilter
impl Serialize for EventDataFilter
Auto Trait Implementations§
impl Freeze for EventDataFilter
impl RefUnwindSafe for EventDataFilter
impl Send for EventDataFilter
impl Sync for EventDataFilter
impl Unpin for EventDataFilter
impl UnwindSafe for EventDataFilter
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more