pub struct LicenseSummary {
pub path: Option<PathBuf>,
pub kind: LicenseKind,
}Fields§
§path: Option<PathBuf>§kind: LicenseKindTrait Implementations§
Source§impl Clone for LicenseSummary
impl Clone for LicenseSummary
Source§fn clone(&self) -> LicenseSummary
fn clone(&self) -> LicenseSummary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LicenseSummary
impl Debug for LicenseSummary
Source§impl Default for LicenseSummary
impl Default for LicenseSummary
Source§fn default() -> LicenseSummary
fn default() -> LicenseSummary
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LicenseSummary
impl<'de> Deserialize<'de> for LicenseSummary
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for LicenseSummary
impl PartialEq for LicenseSummary
Source§fn eq(&self, other: &LicenseSummary) -> bool
fn eq(&self, other: &LicenseSummary) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LicenseSummary
impl Serialize for LicenseSummary
impl Eq for LicenseSummary
impl StructuralPartialEq for LicenseSummary
Auto Trait Implementations§
impl Freeze for LicenseSummary
impl RefUnwindSafe for LicenseSummary
impl Send for LicenseSummary
impl Sync for LicenseSummary
impl Unpin for LicenseSummary
impl UnsafeUnpin for LicenseSummary
impl UnwindSafe for LicenseSummary
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