pub struct Dependency {
pub name: String,
pub group_id: String,
pub artifact_id: String,
pub req: VersionReq,
pub registry: String,
pub output_path: String,
}Fields§
§name: String§group_id: String§artifact_id: String§req: VersionReq§registry: String§output_path: StringImplementations§
Source§impl Dependency
impl Dependency
pub fn from_config(cfg: &DependencyConfig) -> Result<Self>
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