pub struct Licensing {
pub packages: Vec<Crate>,
pub licenses: Vec<LicenseId>,
pub exceptions: Vec<ExceptionId>,
}
Expand description
Licensing information returned by collect
.
Fields§
§packages: Vec<Crate>
All dependencies of the crate (including transitive dependencies and the crate itself).
licenses: Vec<LicenseId>
All SPDX licenses used by the crate and its dependencies.
It does not include non-SPDX-licenses.
Where such custom licenses are used,
their text is only included as part of the corresponding Crate
.
exceptions: Vec<ExceptionId>
All license exceptions used by the crate and its dependencies.
Trait Implementations§
impl Eq for Licensing
impl StructuralPartialEq for Licensing
Auto Trait Implementations§
impl Freeze for Licensing
impl RefUnwindSafe for Licensing
impl Send for Licensing
impl Sync for Licensing
impl Unpin for Licensing
impl UnwindSafe for Licensing
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