pub struct ResolvedComponent {
pub name: String,
pub version: Version,
pub core: VersionReq,
pub provides: Provides,
pub requires: Vec<String>,
pub conflicts: Vec<String>,
pub source: SourceKind,
pub path: Option<PathBuf>,
}Expand description
Разрешённый компонент с метаданными.
Fields§
§name: StringИмя крейта.
version: VersionВерсия компонента.
core: VersionReqТребование к версии ядра.
provides: ProvidesЧто предоставляет компонент.
requires: Vec<String>Обязательные компоненты ("name ^ver").
conflicts: Vec<String>Несовместимые компоненты.
source: SourceKindИсточник.
path: Option<PathBuf>Путь к локальному компоненту (для workspace/vendor).
Trait Implementations§
Source§impl Clone for ResolvedComponent
impl Clone for ResolvedComponent
Auto Trait Implementations§
impl Freeze for ResolvedComponent
impl RefUnwindSafe for ResolvedComponent
impl Send for ResolvedComponent
impl Sync for ResolvedComponent
impl Unpin for ResolvedComponent
impl UnsafeUnpin for ResolvedComponent
impl UnwindSafe for ResolvedComponent
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