pub struct MatchFields {
pub phase: Option<Phase>,
pub run_id: Option<String>,
pub node: Option<String>,
pub step: Option<String>,
pub member: Option<String>,
pub persona: Option<String>,
}Expand description
What a matcher may name beside source and kind: phase and the reserved
labels, each by exact equality against what the envelope carries. round is
deliberately not among them, as the grammar says.
Fields§
§phase: Option<Phase>The phase the envelope was stamped at.
run_id: Option<String>The run_id label.
node: Option<String>The node label.
step: Option<String>The step label.
member: Option<String>The member label.
persona: Option<String>The persona label.
Trait Implementations§
Source§impl Clone for MatchFields
impl Clone for MatchFields
Source§impl Debug for MatchFields
impl Debug for MatchFields
Source§impl Default for MatchFields
impl Default for MatchFields
Source§impl<'de> Deserialize<'de> for MatchFields
impl<'de> Deserialize<'de> for MatchFields
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
impl Eq for MatchFields
Source§impl JsonSchema for MatchFields
impl JsonSchema for MatchFields
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for MatchFields
impl PartialEq for MatchFields
Source§impl Serialize for MatchFields
impl Serialize for MatchFields
impl StructuralPartialEq for MatchFields
Auto Trait Implementations§
impl Freeze for MatchFields
impl RefUnwindSafe for MatchFields
impl Send for MatchFields
impl Sync for MatchFields
impl Unpin for MatchFields
impl UnsafeUnpin for MatchFields
impl UnwindSafe for MatchFields
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.