pub enum PathClass {
Artifact,
Checksum(ChecksumAlgo),
Metadata {
version_level: bool,
checksum: Option<ChecksumAlgo>,
},
}Expand description
Classification of a Maven layout path.
Variants§
Artifact
A main artifact (jar, pom, war, tar.gz, …).
Checksum(ChecksumAlgo)
A checksum sidecar alongside an artifact.
Metadata
A maven-metadata.xml or maven-metadata.xml.sha1 etc. under
the artifactId directory (groupLevel = false) or an optional
version-level metadata for SNAPSHOT builds.
Fields
§
version_level: boolWhether the metadata path is under a version/ directory
(true = SNAPSHOT timestamp metadata, false = artifact index).
§
checksum: Option<ChecksumAlgo>Optional checksum algorithm for metadata sidecars.
Trait Implementations§
impl Eq for PathClass
impl StructuralPartialEq for PathClass
Auto Trait Implementations§
impl Freeze for PathClass
impl RefUnwindSafe for PathClass
impl Send for PathClass
impl Sync for PathClass
impl Unpin for PathClass
impl UnsafeUnpin for PathClass
impl UnwindSafe for PathClass
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