pub struct PluginPlan { /* private fields */ }Expand description
Canonical metadata-only result that can be inspected before runtime startup.
Implementations§
Source§impl PluginPlan
impl PluginPlan
pub const fn schema_version(&self) -> u32
pub fn catalog_fingerprint(&self) -> &str
pub fn catalog(&self) -> &[PluginCatalogRecord]
pub fn policy(&self) -> &PluginPlanPolicy
pub fn requirements(&self) -> &[PluginRequirement]
pub fn providers(&self) -> &[PluginPlanProvider]
Sourcepub fn artifacts(&self) -> &[PluginCatalogRecord]
pub fn artifacts(&self) -> &[PluginCatalogRecord]
Returns selected artifacts in dependency-first execution order.
pub fn fingerprint(&self) -> &str
Sourcepub fn to_json(&self) -> Result<Vec<u8>, PluginPlanError>
pub fn to_json(&self) -> Result<Vec<u8>, PluginPlanError>
Encodes the complete plan envelope in canonical JSON field and array order.
Sourcepub fn from_json(bytes: &[u8]) -> Result<Self, PluginPlanError>
pub fn from_json(bytes: &[u8]) -> Result<Self, PluginPlanError>
Decodes a plan and rejects stale, tampered, or noncanonical projections.
Trait Implementations§
Source§impl Clone for PluginPlan
impl Clone for PluginPlan
Source§fn clone(&self) -> PluginPlan
fn clone(&self) -> PluginPlan
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 moreSource§impl Debug for PluginPlan
impl Debug for PluginPlan
impl Eq for PluginPlan
Source§impl PartialEq for PluginPlan
impl PartialEq for PluginPlan
Source§impl Serialize for PluginPlan
impl Serialize for PluginPlan
impl StructuralPartialEq for PluginPlan
Auto Trait Implementations§
impl Freeze for PluginPlan
impl RefUnwindSafe for PluginPlan
impl Send for PluginPlan
impl Sync for PluginPlan
impl Unpin for PluginPlan
impl UnsafeUnpin for PluginPlan
impl UnwindSafe for PluginPlan
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