pub struct APACHE_2_0 { /* private fields */ }Expand description
Apache 2.0 license
Methods from Deref<Target = SpdxLicense<Apache2Tokens>>§
Sourcepub fn build_header(
&self,
replacement_values: L::TokenReplacementValues,
) -> Header<SingleLineChecker>
pub fn build_header( &self, replacement_values: L::TokenReplacementValues, ) -> Header<SingleLineChecker>
Build a header for this license using the provided year and copyright_holder to
interpolate into the license.
The license’s header is used, if the license offers one, otherwise the main license text
is used instead.
Trait Implementations§
Source§impl Deref for APACHE_2_0
impl Deref for APACHE_2_0
Source§type Target = SpdxLicense<Apache2Tokens>
type Target = SpdxLicense<Apache2Tokens>
The resulting type after dereferencing.
Source§fn deref(&self) -> &SpdxLicense<Apache2Tokens>
fn deref(&self) -> &SpdxLicense<Apache2Tokens>
Dereferences the value.
impl LazyStatic for APACHE_2_0
Auto Trait Implementations§
impl Freeze for APACHE_2_0
impl RefUnwindSafe for APACHE_2_0
impl Send for APACHE_2_0
impl Sync for APACHE_2_0
impl Unpin for APACHE_2_0
impl UnwindSafe for APACHE_2_0
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