pub struct PlanRequest<'a> {
pub document: &'a ConfigDocument,
pub origins: &'a OriginMap,
pub profile: &'a str,
pub target: TargetPlatform,
pub only: &'a [String],
pub exclude: &'a [String],
pub source_root: Option<&'a Path>,
}Expand description
Borrowed inputs required to build a plan for one profile and target.
Fields§
§document: &'a ConfigDocumentCanonical configuration to resolve.
origins: &'a OriginMapConfiguration provenance copied into the plan.
profile: &'a strProfile identifier to expand.
target: TargetPlatformTarget used for platform and variant selection.
only: &'a [String]Optional inclusive component filters.
exclude: &'a [String]Component filters removed after profile expansion.
source_root: Option<&'a Path>Base directory used to resolve local sources.
Auto Trait Implementations§
impl<'a> Freeze for PlanRequest<'a>
impl<'a> RefUnwindSafe for PlanRequest<'a>
impl<'a> Send for PlanRequest<'a>
impl<'a> Sync for PlanRequest<'a>
impl<'a> Unpin for PlanRequest<'a>
impl<'a> UnsafeUnpin for PlanRequest<'a>
impl<'a> UnwindSafe for PlanRequest<'a>
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