pub struct MemberKey {
pub val: MemberKeyVal,
pub cut: bool,
}
Expand description
The “key” part of a key-value group member, along with its “cut” semantics.
When validating a map, “cut” means that once the key has matched, no other keys in this CDDL group will be attempted. See RFC8610 for more details.
Fields§
§val: MemberKeyVal
The actual key definition.
cut: bool
true
if cut semantics are specified.
Trait Implementations§
source§impl PartialEq for MemberKey
impl PartialEq for MemberKey
impl StructuralPartialEq for MemberKey
Auto Trait Implementations§
impl RefUnwindSafe for MemberKey
impl Send for MemberKey
impl Sync for MemberKey
impl Unpin for MemberKey
impl UnwindSafe for MemberKey
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