Struct pact_models::matchingrules::expressions::MatchingReference
source · pub struct MatchingReference {
pub name: String,
}Expand description
Reference to another attribute that defines the structure of the matching rule
Fields§
§name: StringName of the attribute that the reference is to
Trait Implementations§
source§impl Clone for MatchingReference
impl Clone for MatchingReference
source§fn clone(&self) -> MatchingReference
fn clone(&self) -> MatchingReference
Returns a copy 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 MatchingReference
impl Debug for MatchingReference
source§impl PartialEq<MatchingReference> for MatchingReference
impl PartialEq<MatchingReference> for MatchingReference
source§fn eq(&self, other: &MatchingReference) -> bool
fn eq(&self, other: &MatchingReference) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for MatchingReference
impl StructuralEq for MatchingReference
impl StructuralPartialEq for MatchingReference
Auto Trait Implementations§
impl RefUnwindSafe for MatchingReference
impl Send for MatchingReference
impl Sync for MatchingReference
impl Unpin for MatchingReference
impl UnwindSafe for MatchingReference
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.