Enum cbor_data::PathElement [−][src]
Expand description
Path elements for indexing into CBOR structures
Variants
String(Cow<'a, str>)
matches only text string dictionary keys encoded as major type 3
Number(u64)
Tuple Fields
0: u64matches only array indices or numeric dictionary keys encoded as major type 0
Item(Cow<'a, Cbor>)
matches only dictionary keys of exactly the byte sequence as this element
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl<'a> RefUnwindSafe for PathElement<'a>
impl<'a> Send for PathElement<'a>
impl<'a> Sync for PathElement<'a>
impl<'a> Unpin for PathElement<'a>
impl<'a> UnwindSafe for PathElement<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more