pub struct LicenseRule {
pub name: Option<String>,
pub label: Option<String>,
pub description: Option<String>,
pub type: Option<Type>,
}Fields§
§name: Option<String>Name of the rule.
label: Option<String>Label of the rule.
description: Option<String>Description of the rule.
type: Option<Type>Type of rule.
Implementations§
Source§impl LicenseRule
impl LicenseRule
pub fn new() -> LicenseRule
Trait Implementations§
Source§impl Clone for LicenseRule
impl Clone for LicenseRule
Source§fn clone(&self) -> LicenseRule
fn clone(&self) -> LicenseRule
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 LicenseRule
impl Debug for LicenseRule
Source§impl Default for LicenseRule
impl Default for LicenseRule
Source§fn default() -> LicenseRule
fn default() -> LicenseRule
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LicenseRule
impl<'de> Deserialize<'de> for LicenseRule
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
Source§impl PartialEq for LicenseRule
impl PartialEq for LicenseRule
Source§impl Serialize for LicenseRule
impl Serialize for LicenseRule
impl StructuralPartialEq for LicenseRule
Auto Trait Implementations§
impl Freeze for LicenseRule
impl RefUnwindSafe for LicenseRule
impl Send for LicenseRule
impl Sync for LicenseRule
impl Unpin for LicenseRule
impl UnwindSafe for LicenseRule
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