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 duplicate 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 Freeze for Dependency
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