pub struct ModelPreparationPlan<P = ()> { /* private fields */ }Expand description
Fully inspected input supplied to one selected backend for materialization.
Implementations§
Source§impl<P> ModelPreparationPlan<P>
impl<P> ModelPreparationPlan<P>
Sourcepub fn inspection(&self) -> &ArtifactInspection<P>
pub fn inspection(&self) -> &ArtifactInspection<P>
Header-only inspection owned by the plan.
Sourcepub const fn policy(&self) -> PreparationPolicy
pub const fn policy(&self) -> PreparationPolicy
Validated caller policy.
Sourcepub const fn route(&self) -> MaterializationRoute
pub const fn route(&self) -> MaterializationRoute
Canonical materialization route.
Sourcepub const fn admitted_session_capabilities(&self) -> SessionCapabilities
pub const fn admitted_session_capabilities(&self) -> SessionCapabilities
Exact session capabilities admitted before materialization.
Sourcepub fn into_artifact(self) -> ModelArtifact
pub fn into_artifact(self) -> ModelArtifact
Consumes the plan into the exact portable artifact admitted by inspection.
Architecture state remains available through Self::inspection before
this consuming operation. Policy and route are intentionally not repeated
in a positional handoff: materializers must inspect those named properties
before consuming the plan.
Trait Implementations§
Source§impl<P: Clone> Clone for ModelPreparationPlan<P>
impl<P: Clone> Clone for ModelPreparationPlan<P>
Source§fn clone(&self) -> ModelPreparationPlan<P>
fn clone(&self) -> ModelPreparationPlan<P>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<P> Freeze for ModelPreparationPlan<P>where
ArtifactInspection<P>: Freeze,
impl<P> RefUnwindSafe for ModelPreparationPlan<P>where
ArtifactInspection<P>: RefUnwindSafe,
impl<P> Send for ModelPreparationPlan<P>where
ArtifactInspection<P>: Send,
impl<P> Sync for ModelPreparationPlan<P>where
ArtifactInspection<P>: Sync,
impl<P> Unpin for ModelPreparationPlan<P>where
ArtifactInspection<P>: Unpin,
impl<P> UnsafeUnpin for ModelPreparationPlan<P>where
ArtifactInspection<P>: UnsafeUnpin,
impl<P> UnwindSafe for ModelPreparationPlan<P>where
ArtifactInspection<P>: UnwindSafe,
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