Struct embed_licensing::Licensing
source · 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§
source§impl ToTokens for Licensing
impl ToTokens for Licensing
source§fn to_tokens(&self, tokens: &mut TokenStream)
fn to_tokens(&self, tokens: &mut TokenStream)
source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
source§fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)