Struct maven_toolbox::Dependency
source · pub struct Dependency {
pub artifact_fqn: ArtifactFqn,
pub scope: Option<String>,
}
Fields§
§artifact_fqn: ArtifactFqn
§scope: Option<String>
Implementations§
source§impl Dependency
impl Dependency
pub fn get_key(&self) -> DependencyKey
pub fn normalize(self, parent_id: &ArtifactFqn, default_packaging: &str) -> Self
Trait Implementations§
source§impl Clone for Dependency
impl Clone for Dependency
source§fn clone(&self) -> Dependency
fn clone(&self) -> Dependency
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 Dependency
impl Debug for Dependency
source§impl Default for Dependency
impl Default for Dependency
source§fn default() -> Dependency
fn default() -> Dependency
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for Dependency
impl Send for Dependency
impl Sync for Dependency
impl Unpin for Dependency
impl UnwindSafe for Dependency
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