pub struct ArtifactMapping {
pub id: String,
pub spec_ref_node: String,
pub spec_ref_revision: String,
pub node_hash: Option<String>,
pub artifact_path: String,
pub artifact_repo: String,
pub ranges: Vec<ArtifactRange>,
pub coverage: String,
pub source_file: PathBuf,
}Expand description
An artifact mapping parsed from spec XML.
Fields§
§id: String§spec_ref_node: String§spec_ref_revision: String§node_hash: Option<String>§artifact_path: String§artifact_repo: String§ranges: Vec<ArtifactRange>§coverage: String§source_file: PathBufThe XML file this mapping was parsed from.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ArtifactMapping
impl RefUnwindSafe for ArtifactMapping
impl Send for ArtifactMapping
impl Sync for ArtifactMapping
impl Unpin for ArtifactMapping
impl UnsafeUnpin for ArtifactMapping
impl UnwindSafe for ArtifactMapping
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> 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