Skip to main content

Preparation

Struct Preparation 

Source
pub struct Preparation<N, D, G> { /* private fields */ }
Expand description

Original prepared source models. This is NOT a verified B level: scalar/ optional-property semantics, certificate/key/path/status checking and actual timestamp execution still have to complete. No trust/evidence constructor is exposed by this object, and unknown original properties remain in inventory.

Implementations§

Source§

impl<N, D, G> Preparation<N, D, G>

Source

pub fn requirements(&self) -> Requirements

Requested structural requirements actually enforced during preparation; this does not infer a verified level from additional container presence.

Source

pub fn bound(&self) -> &Bound<N, D, G>

Original authenticated whole-SignedProperties binding.

Source

pub fn signed(&self) -> &Signed<N, D, G>

Original signed-property roles, including unprocessed optional fields.

Source

pub fn header(&self) -> &Header<N, D, G>

Baseline header roles, before candidate inclusion checking.

Source

pub fn certificates(&self) -> &References<N, D, G>

Original certificate-digest references, before actual digest/key binding.

Source

pub fn formats(&self) -> &[CoveredFormat<N, D, G>]

Complete required reference association and exact ds:Object metadata agreement and MIME syntax; URI lexical validation remains separate.

Source

pub fn commitments(&self) -> &[Association<N, D, G>]

Original commitments with completed authenticated instruction lookup; URI lexical and application-policy meaning checks remain separate.

Source

pub fn roles(&self) -> Option<&Roles<N, D, G>>

Original optional role credentials, without issuer trust assertions.

Source

pub fn policy(&self) -> Option<&Reading<N, D, G>>

Original signed policy choice, before document or application acceptance.

Source

pub fn policy_store(&self) -> Option<&Store<N, D, G>>

Original store permitted by the signed explicit policy hash. Its bytes remain untrusted until actual comparison with that signed digest.

Source

pub fn unsigned(&self) -> &Catalogue<N, D, G>

Full original unsigned-property inventory; it is not a material census.

Source

pub fn timestamps(&self) -> &[Stamp<N, D, G>]

Selected timestamp source models, not parsed or verified token evidence.

Source

pub fn material(&self) -> &[Catalogue<N, D, G>]

Original ordinary/attribute validation-material value catalogues.

Source

pub fn validation(&self) -> &[Data<N, D, G>]

Original general/timestamp-specific validation-data catalogues.

Source

pub fn renewed(&self) -> &[Catalogue<N, D, G>]

Original renewed-digest pairs. Authenticated detached Manifest matching and both actual hash comparisons remain separate execution obligations.

Source

pub fn validation_references(&self) -> &[ReferenceProperty<N, D, G>]

Complete original optional validation-reference fields. These unsigned models cannot substitute for protected signing-certificate binding; their scalar syntax and actual artifact comparisons remain separate.

Trait Implementations§

Source§

impl<N: Copy, D: Copy, G: Copy> ArchiveCensus for Preparation<N, D, G>

Source§

type Id = N

Original node identity.
Source§

type Document = D

Stable document identity.
Source§

type Generation = G

Exact document generation.
Source§

fn signature(&self) -> Location<N, D, G>

The signature whose timestamps these are.
Source§

fn timestamps(&self) -> usize

Number of timestamps of every kind.
Source§

fn archive(&self, ordinal: usize) -> Option<N>

The original archive input subject at this ordinal, or None for another kind of input. Match the format’s Coverage::subject: a token for member-specific inputs, or the property for property-shared input. Read more

Auto Trait Implementations§

§

impl<N, D, G> !Freeze for Preparation<N, D, G>

§

impl<N, D, G> Forget for Preparation<N, D, G>

§

impl<N, D, G> RefUnwindSafe for Preparation<N, D, G>

§

impl<N, D, G> Send for Preparation<N, D, G>
where Bound<N, D, G>: Send, Signed<N, D, G>: Send, Header<N, D, G>: Send, References<N, D, G>: Send, OwnedVec<CoveredFormat<N, D, G>>: Send, OwnedVec<Association<N, D, G>>: Send, Option<Roles<N, D, G>>: Send, Option<Reading<N, D, G>>: Send, Option<Store<N, D, G>>: Send, Catalogue<N, D, G>: Send, OwnedVec<Stamp<N, D, G>>: Send, OwnedVec<Catalogue<N, D, G>>: Send, OwnedVec<Data<N, D, G>>: Send, OwnedVec<Catalogue<N, D, G>>: Send, OwnedVec<ReferenceProperty<N, D, G>>: Send,

§

impl<N, D, G> Sync for Preparation<N, D, G>
where Bound<N, D, G>: Sync, Signed<N, D, G>: Sync, Header<N, D, G>: Sync, References<N, D, G>: Sync, OwnedVec<CoveredFormat<N, D, G>>: Sync, OwnedVec<Association<N, D, G>>: Sync, Option<Roles<N, D, G>>: Sync, Option<Reading<N, D, G>>: Sync, Option<Store<N, D, G>>: Sync, Catalogue<N, D, G>: Sync, OwnedVec<Stamp<N, D, G>>: Sync, OwnedVec<Catalogue<N, D, G>>: Sync, OwnedVec<Data<N, D, G>>: Sync, OwnedVec<Catalogue<N, D, G>>: Sync, OwnedVec<ReferenceProperty<N, D, G>>: Sync,

§

impl<N, D, G> Unpin for Preparation<N, D, G>
where Bound<N, D, G>: Unpin, Signed<N, D, G>: Unpin, Header<N, D, G>: Unpin, References<N, D, G>: Unpin, OwnedVec<CoveredFormat<N, D, G>>: Unpin, OwnedVec<Association<N, D, G>>: Unpin, Option<Roles<N, D, G>>: Unpin, Option<Reading<N, D, G>>: Unpin, Option<Store<N, D, G>>: Unpin, Catalogue<N, D, G>: Unpin, OwnedVec<Stamp<N, D, G>>: Unpin, OwnedVec<Catalogue<N, D, G>>: Unpin, OwnedVec<Data<N, D, G>>: Unpin, OwnedVec<Catalogue<N, D, G>>: Unpin, OwnedVec<ReferenceProperty<N, D, G>>: Unpin,

§

impl<N, D, G> UnsafeUnpin for Preparation<N, D, G>

§

impl<N, D, G> UnwindSafe for Preparation<N, D, G>

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.