Struct apply_license::License
source · [−]Expand description
An open-source license.
Fields
identifier: String
The identifier for the license on the command line, if multiple licenses are present.
For example, LICENSE-APACHE
vs LICENSE-MIT
.
spdx: String
text: String
A handlebars template of the license text.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for License
impl<'de> Deserialize<'de> for License
sourcefn 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
impl StructuralPartialEq for License
Auto Trait Implementations
impl RefUnwindSafe for License
impl Send for License
impl Sync for License
impl Unpin for License
impl UnwindSafe for License
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more