Gets the underlying dcbor-pattern KnownValuePattern.
StaticanyCreates a new KnownValuePattern that matches any known value.
StaticvalueCreates a new KnownValuePattern that matches the specific known value.
StaticnamedCreates a new KnownValuePattern that matches known values by name.
StaticregexCreates a new KnownValuePattern that matches known values by regex on their name.
StaticfromCreates a new KnownValuePattern from a dcbor-pattern KnownValuePattern.
Returns true if the pattern matches the haystack.
Returns true if the Display of the matcher is complex, i.e. contains nested patterns or other complex structures that require its text rendering to be surrounded by grouping parentheses.
Returns a string representation of an object.
Hash code for use in Maps/Sets.
Pattern for matching known values.
This is a wrapper around dcbor_pattern::KnownValuePattern that provides envelope-specific integration.
Corresponds to the Rust
KnownValuePatternstruct in known_value_pattern.rs