[][src]Struct cddl_cat::ast::MemberKey

pub struct MemberKey {
    pub val: MemberKeyVal,
    pub cut: bool,
}

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

impl Debug for MemberKey[src]

impl PartialEq<MemberKey> for MemberKey[src]

impl StructuralPartialEq for MemberKey[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.