pub struct Item<'a> { /* private fields */ }Expand description
Basic-valid item under the recorded profile. Registered tag semantics are opaque; this receipt never implies application-level or tag-24 validation.
Implementations§
Source§impl<'a> Item<'a>
impl<'a> Item<'a>
Sourcepub fn children(&self) -> Result<ItemChildren<'a>, CborError>
pub fn children(&self) -> Result<ItemChildren<'a>, CborError>
Iterate direct children as validated items under the same profile.
A parent validated under a profile has every descendant validated under it, so children keep the validated receipt type. Map children alternate key and value; a tag yields its single enclosed item.
Auto Trait Implementations§
impl<'a> Forget for Item<'a>
impl<'a> Freeze for Item<'a>
impl<'a> Move for Item<'a>
impl<'a> RefUnwindSafe for Item<'a>
impl<'a> Send for Item<'a>
impl<'a> Sync for Item<'a>
impl<'a> Unpin for Item<'a>
impl<'a> UnsafeUnpin for Item<'a>
impl<'a> UnwindSafe for Item<'a>
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