pub struct HandlerLicense {
pub spdx_id: Option<String>,
pub body: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub key: Option<String>,
pub conditions: Option<Vec<String>>,
pub permissions: Option<Vec<String>>,
pub limitations: Option<Vec<String>>,
}
Expand description
HandlerLicense 模型
Fields§
§spdx_id: Option<String>
§body: Option<String>
§name: Option<String>
§description: Option<String>
§key: Option<String>
§conditions: Option<Vec<String>>
§permissions: Option<Vec<String>>
§limitations: Option<Vec<String>>
Trait Implementations§
Source§impl Clone for HandlerLicense
impl Clone for HandlerLicense
Source§fn clone(&self) -> HandlerLicense
fn clone(&self) -> HandlerLicense
Returns a duplicate of the value. Read more
1.0.0 · 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 HandlerLicense
impl Debug for HandlerLicense
Source§impl<'de> Deserialize<'de> for HandlerLicense
impl<'de> Deserialize<'de> for HandlerLicense
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
Auto Trait Implementations§
impl Freeze for HandlerLicense
impl RefUnwindSafe for HandlerLicense
impl Send for HandlerLicense
impl Sync for HandlerLicense
impl Unpin for HandlerLicense
impl UnwindSafe for HandlerLicense
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