Struct maven_toolbox::ArtifactFqn
source · pub struct ArtifactFqn {
pub group_id: Option<String>,
pub artifact_id: Option<String>,
pub version: Option<String>,
pub packaging: Option<String>,
}
Fields§
§group_id: Option<String>
§artifact_id: Option<String>
§version: Option<String>
§packaging: Option<String>
Implementations§
source§impl ArtifactFqn
impl ArtifactFqn
pub fn pom(group_id: &str, artifact_id: &str, version: &str) -> Self
pub fn interpolate(&self, properties: &HashMap<String, String>) -> Self
pub fn with_packaging(&self, packaging: &str) -> Self
pub fn same_ga(&self, other: &Self) -> bool
pub fn normalize(self, parent: &Self, default_packaging: &str) -> Self
Trait Implementations§
source§impl Clone for ArtifactFqn
impl Clone for ArtifactFqn
source§fn clone(&self) -> ArtifactFqn
fn clone(&self) -> ArtifactFqn
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 ArtifactFqn
impl Debug for ArtifactFqn
source§impl Default for ArtifactFqn
impl Default for ArtifactFqn
source§fn default() -> ArtifactFqn
fn default() -> ArtifactFqn
Returns the “default value” for a type. Read more
source§impl Display for ArtifactFqn
impl Display for ArtifactFqn
source§impl Hash for ArtifactFqn
impl Hash for ArtifactFqn
source§impl PartialEq<ArtifactFqn> for ArtifactFqn
impl PartialEq<ArtifactFqn> for ArtifactFqn
source§fn eq(&self, other: &ArtifactFqn) -> bool
fn eq(&self, other: &ArtifactFqn) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ArtifactFqn
impl StructuralEq for ArtifactFqn
impl StructuralPartialEq for ArtifactFqn
Auto Trait Implementations§
impl RefUnwindSafe for ArtifactFqn
impl Send for ArtifactFqn
impl Sync for ArtifactFqn
impl Unpin for ArtifactFqn
impl UnwindSafe for ArtifactFqn
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