Struct cargo_license::DependencyDetails
source · pub struct DependencyDetails {
pub name: String,
pub version: Version,
pub authors: Option<String>,
pub repository: Option<String>,
pub license: Option<String>,
pub license_file: Option<String>,
pub description: Option<String>,
}
Fields§
§name: String
§version: Version
§repository: Option<String>
§license: Option<String>
§license_file: Option<String>
§description: Option<String>
Implementations§
Trait Implementations§
source§impl Clone for DependencyDetails
impl Clone for DependencyDetails
source§fn clone(&self) -> DependencyDetails
fn clone(&self) -> DependencyDetails
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 DependencyDetails
impl Debug for DependencyDetails
source§impl Hash for DependencyDetails
impl Hash for DependencyDetails
source§impl Ord for DependencyDetails
impl Ord for DependencyDetails
source§fn cmp(&self, other: &DependencyDetails) -> Ordering
fn cmp(&self, other: &DependencyDetails) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for DependencyDetails
impl PartialEq for DependencyDetails
source§fn eq(&self, other: &DependencyDetails) -> bool
fn eq(&self, other: &DependencyDetails) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DependencyDetails
impl PartialOrd for DependencyDetails
source§fn partial_cmp(&self, other: &DependencyDetails) -> Option<Ordering>
fn partial_cmp(&self, other: &DependencyDetails) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for DependencyDetails
impl Serialize for DependencyDetails
impl Eq for DependencyDetails
impl StructuralEq for DependencyDetails
impl StructuralPartialEq for DependencyDetails
Auto Trait Implementations§
impl RefUnwindSafe for DependencyDetails
impl Send for DependencyDetails
impl Sync for DependencyDetails
impl Unpin for DependencyDetails
impl UnwindSafe for DependencyDetails
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