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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more