Skip to main content

IncorporatedArtifact

Struct IncorporatedArtifact 

Source
pub struct IncorporatedArtifact<'certificate, 'document, N, D, G, P> { /* private fields */ }
Expand description

One actual validation input and an exact original incorporated copy, if any. An acquired/caller-supplied value alone is not an incorporated occurrence.

Implementations§

Source§

impl<'certificate, 'document, N: Copy, D: Copy, G: Copy, P: Copy> IncorporatedArtifact<'certificate, 'document, N, D, G, P>

Source

pub fn artifact(&self) -> ArtifactRef<'certificate, 'document>

Original actual checked-path or contributing status input.

Source

pub fn occurrence(&self) -> Option<Occurrence<N, D, G, P>>

First exact incorporated copy; absence never implies usable status.

Auto Trait Implementations§

§

impl<'certificate, 'document, N, D, G, P> !RefUnwindSafe for IncorporatedArtifact<'certificate, 'document, N, D, G, P>

§

impl<'certificate, 'document, N, D, G, P> !Send for IncorporatedArtifact<'certificate, 'document, N, D, G, P>

§

impl<'certificate, 'document, N, D, G, P> !Sync for IncorporatedArtifact<'certificate, 'document, N, D, G, P>

§

impl<'certificate, 'document, N, D, G, P> !UnwindSafe for IncorporatedArtifact<'certificate, 'document, N, D, G, P>

§

impl<'certificate, 'document, N, D, G, P> Freeze for IncorporatedArtifact<'certificate, 'document, N, D, G, P>
where Option<Occurrence<N, D, G, P>>: Freeze,

§

impl<'certificate, 'document, N, D, G, P> Unpin for IncorporatedArtifact<'certificate, 'document, N, D, G, P>
where Option<Occurrence<N, D, G, P>>: Unpin,

§

impl<'certificate, 'document, N, D, G, P> UnsafeUnpin for IncorporatedArtifact<'certificate, 'document, N, D, G, P>
where Option<Occurrence<N, D, G, P>>: UnsafeUnpin,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.