pub struct RustTestBinarySummary {
pub binary_id: RustBinaryId,
pub binary_name: String,
pub package_id: String,
pub kind: RustTestBinaryKind,
pub binary_path: Utf8PathBuf,
pub build_platform: BuildPlatform,
}
Expand description
A serializable Rust test binary.
Part of a RustTestSuiteSummary
and BinaryListSummary
.
Fields§
§binary_id: RustBinaryId
A unique binary ID.
binary_name: String
The name of the test binary within the package.
package_id: String
The unique package ID assigned by Cargo to this test.
This package ID can be used for lookups in cargo metadata
.
kind: RustTestBinaryKind
The kind of Rust test binary this is.
binary_path: Utf8PathBuf
The path to the test binary executable.
build_platform: BuildPlatform
Platform for which this binary was built. (Proc-macro tests are built for the host.)
Trait Implementations§
source§impl Clone for RustTestBinarySummary
impl Clone for RustTestBinarySummary
source§fn clone(&self) -> RustTestBinarySummary
fn clone(&self) -> RustTestBinarySummary
Returns a copy 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 moresource§impl Debug for RustTestBinarySummary
impl Debug for RustTestBinarySummary
source§impl<'de> Deserialize<'de> for RustTestBinarySummary
impl<'de> Deserialize<'de> for RustTestBinarySummary
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for RustTestBinarySummary
impl PartialEq for RustTestBinarySummary
source§impl Serialize for RustTestBinarySummary
impl Serialize for RustTestBinarySummary
impl Eq for RustTestBinarySummary
impl StructuralPartialEq for RustTestBinarySummary
Auto Trait Implementations§
impl Freeze for RustTestBinarySummary
impl RefUnwindSafe for RustTestBinarySummary
impl Send for RustTestBinarySummary
impl Sync for RustTestBinarySummary
impl Unpin for RustTestBinarySummary
impl UnwindSafe for RustTestBinarySummary
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)