pub struct CargoArtifactExpectation {
pub unit: DescriptorCargoUnitId,
pub package_id: String,
pub target_name: String,
pub target_kinds: BTreeSet<String>,
pub crate_types: BTreeSet<String>,
pub features: BTreeSet<String>,
pub profile: Value,
pub required_filenames: BTreeSet<PathBuf>,
}Expand description
Exact caller-provided selector for one wrapper unit.
Fields§
§unit: DescriptorCargoUnitIdDescriptor unit to associate with the Cargo artifact.
package_id: StringExact Cargo package ID.
target_name: StringExact target name.
target_kinds: BTreeSet<String>Exact Cargo target-kind set.
crate_types: BTreeSet<String>Exact crate-type set.
features: BTreeSet<String>Exact enabled-feature set.
profile: ValueExact Cargo profile JSON.
required_filenames: BTreeSet<PathBuf>At least one exact Cargo-enumerated path required for the match.
Trait Implementations§
Source§impl Clone for CargoArtifactExpectation
impl Clone for CargoArtifactExpectation
Source§impl Debug for CargoArtifactExpectation
impl Debug for CargoArtifactExpectation
Source§impl PartialEq for CargoArtifactExpectation
impl PartialEq for CargoArtifactExpectation
impl StructuralPartialEq for CargoArtifactExpectation
Auto Trait Implementations§
impl Freeze for CargoArtifactExpectation
impl RefUnwindSafe for CargoArtifactExpectation
impl Send for CargoArtifactExpectation
impl Sync for CargoArtifactExpectation
impl Unpin for CargoArtifactExpectation
impl UnsafeUnpin for CargoArtifactExpectation
impl UnwindSafe for CargoArtifactExpectation
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