pub struct ReferenceEntry<N> { /* private fields */ }Expand description
Parsed field selectors of one original reference. This type cannot replace the protected signing-certificate reference catalogue in key/path checking.
Implementations§
Source§impl<N: Copy> ReferenceEntry<N>
impl<N: Copy> ReferenceEntry<N>
Sourcepub fn kind(&self) -> ReferenceKind
pub fn kind(&self) -> ReferenceKind
Actual artifact schema, not validation or authentication.
Sourcepub fn digest(&self) -> Option<(N, N)>
pub fn digest(&self) -> Option<(N, N)>
Original method/value nodes when this schema carries a digest.
Sourcepub fn identifier(&self) -> ReferenceIdentifier<N>
pub fn identifier(&self) -> ReferenceIdentifier<N>
Original identifier selectors, without reparsing the reference grammar.
Sourcepub fn fields(&self) -> [Option<ReferenceField<N>>; 4]
pub fn fields(&self) -> [Option<ReferenceField<N>>; 4]
Fixed-size scalar obligations derived from the same identifier model. No copied catalogue or normalized string storage is retained.
Auto Trait Implementations§
impl<N> Forget for ReferenceEntry<N>
impl<N> Freeze for ReferenceEntry<N>
impl<N> RefUnwindSafe for ReferenceEntry<N>
impl<N> Send for ReferenceEntry<N>
impl<N> Sync for ReferenceEntry<N>
impl<N> Unpin for ReferenceEntry<N>
impl<N> UnsafeUnpin for ReferenceEntry<N>
impl<N> UnwindSafe for ReferenceEntry<N>
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