pub struct TemplateExpansionPlan { /* private fields */ }Expand description
A read-only preview of one template version’s guidance against a folderbase.
Callers cannot construct or mutate the plan. This keeps application behind the core’s no-clobber and stale-plan checks.
Implementations§
Source§impl TemplateExpansionPlan
impl TemplateExpansionPlan
pub fn root(&self) -> &Path
pub fn folderbase_id(&self) -> &str
pub fn template_id(&self) -> &str
pub fn comparison_source(&self) -> TemplateComparisonSource
pub fn comparison_application_id(&self) -> Option<&str>
pub fn comparison_version(&self) -> &str
pub fn template_version(&self) -> &str
pub fn template_package_digest(&self) -> &TemplatePlanDigest
pub fn additions(&self) -> &[PlannedTemplateAddition]
pub fn preserved_paths(&self) -> &[PathBuf]
pub fn blocked_paths(&self) -> &[PathBuf]
pub fn structural_changes(&self) -> &[TemplateStructuralChange]
pub fn plan_digest(&self) -> &TemplatePlanDigest
pub fn is_noop(&self) -> bool
Trait Implementations§
Source§impl Debug for TemplateExpansionPlan
impl Debug for TemplateExpansionPlan
Auto Trait Implementations§
impl Freeze for TemplateExpansionPlan
impl RefUnwindSafe for TemplateExpansionPlan
impl Send for TemplateExpansionPlan
impl Sync for TemplateExpansionPlan
impl Unpin for TemplateExpansionPlan
impl UnsafeUnpin for TemplateExpansionPlan
impl UnwindSafe for TemplateExpansionPlan
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