pub struct CorrelationKeyDefinition {
pub from: String,
pub expect: Option<String>,
}Expand description
Represents the definition of an event correlation key
Fields§
§from: StringGets/sets a runtime expression used to extract the correlation key value from events
expect: Option<String>Gets/sets a constant or a runtime expression, if any, used to determine whether or not the extracted correlation key value matches expectations and should be correlated. If not set, the first extracted value will be used as the correlation key’s expectation
Implementations§
Trait Implementations§
Source§impl Clone for CorrelationKeyDefinition
impl Clone for CorrelationKeyDefinition
Source§fn clone(&self) -> CorrelationKeyDefinition
fn clone(&self) -> CorrelationKeyDefinition
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 CorrelationKeyDefinition
impl Debug for CorrelationKeyDefinition
Source§impl Default for CorrelationKeyDefinition
impl Default for CorrelationKeyDefinition
Source§fn default() -> CorrelationKeyDefinition
fn default() -> CorrelationKeyDefinition
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CorrelationKeyDefinition
impl<'de> Deserialize<'de> for CorrelationKeyDefinition
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 CorrelationKeyDefinition
impl PartialEq for CorrelationKeyDefinition
Source§fn eq(&self, other: &CorrelationKeyDefinition) -> bool
fn eq(&self, other: &CorrelationKeyDefinition) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CorrelationKeyDefinition
impl Serialize for CorrelationKeyDefinition
impl Eq for CorrelationKeyDefinition
impl StructuralPartialEq for CorrelationKeyDefinition
Auto Trait Implementations§
impl Freeze for CorrelationKeyDefinition
impl RefUnwindSafe for CorrelationKeyDefinition
impl Send for CorrelationKeyDefinition
impl Sync for CorrelationKeyDefinition
impl Unpin for CorrelationKeyDefinition
impl UnsafeUnpin for CorrelationKeyDefinition
impl UnwindSafe for CorrelationKeyDefinition
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