pub struct PkgSpec {
pub name: String,
pub version: Option<Version>,
pub url: Option<String>,
}
Expand description
A package specification. See cargo pkgid for more information on this.
Fields§
§name: String
§version: Option<Version>
§url: Option<String>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PkgSpec
impl RefUnwindSafe for PkgSpec
impl Send for PkgSpec
impl Sync for PkgSpec
impl Unpin for PkgSpec
impl UnwindSafe for PkgSpec
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