pub struct Merged {
pub manifest: Value,
pub requires: Vec<MergedLink>,
pub requires_dev: Vec<MergedLink>,
pub merged_names: Vec<String>,
pub files: Vec<String>,
pub include_links: Vec<IncludeLinks>,
pub repositories: Vec<String>,
}Expand description
The root package after the merge.
Fields§
§manifest: ValueThe root manifest with the merged sections (require,
require-dev as equivalent text; autoload, autoload-dev,
conflict, replace, provide, extra).
requires: Vec<MergedLink>§requires_dev: Vec<MergedLink>§merged_names: Vec<String>getMergedRequirements(): the names added, replaced or merged.
files: Vec<String>The files merged, in order.
include_links: Vec<IncludeLinks>Per merged file, in merge order: its own require and
require-dev entries (name, constraint text as written) — what
mergeStabilityFlags extracts flags from, before any merge.
repositories: Vec<String>A merged file declares repositories (prependRepositories):
not emulated at resolution.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Merged
impl RefUnwindSafe for Merged
impl Send for Merged
impl Sync for Merged
impl Unpin for Merged
impl UnsafeUnpin for Merged
impl UnwindSafe for Merged
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