pub struct ManifestOverride {
pub filename: Option<String>,
pub target: Option<String>,
pub install: Option<bool>,
pub manifest_alias: Option<String>,
pub template_vars: Option<Value>,
}Expand description
Stores override information from manifest dependencies.
When a resource appears both as a direct dependency in the manifest and as a transitive dependency of another resource, this structure stores the customizations from the manifest version to ensure they take precedence.
Fields§
§filename: Option<String>Custom filename specified in manifest
target: Option<String>Custom target path specified in manifest
install: Option<bool>Install flag override
manifest_alias: Option<String>Manifest alias (for reference)
template_vars: Option<Value>Original template variables from manifest
Trait Implementations§
Source§impl Clone for ManifestOverride
impl Clone for ManifestOverride
Source§fn clone(&self) -> ManifestOverride
fn clone(&self) -> ManifestOverride
Returns a duplicate of the value. Read more
1.0.0 · 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 Freeze for ManifestOverride
impl RefUnwindSafe for ManifestOverride
impl Send for ManifestOverride
impl Sync for ManifestOverride
impl Unpin for ManifestOverride
impl UnwindSafe for ManifestOverride
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