pub struct LicenseSet {
pub id: String,
pub default: Option<bool>,
pub gating: Option<bool>,
pub license: Vec<License>,
}Expand description
Represents the PDSC LicenseSetsType
Fields§
§id: StringLicense set identifier string, must be uniuqe in the PDSC file
default: Option<bool>If set to true this license set is associated with all content, not explicitly referencing another license set
gating: Option<bool>If set to true this license set is required to be accepted by the user before installation starts.
license: Vec<License>Description of the license file refereneces
Trait Implementations§
Source§impl Clone for LicenseSet
impl Clone for LicenseSet
Source§fn clone(&self) -> LicenseSet
fn clone(&self) -> LicenseSet
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LicenseSet
impl Debug for LicenseSet
Source§impl Default for LicenseSet
impl Default for LicenseSet
Source§fn default() -> LicenseSet
fn default() -> LicenseSet
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LicenseSet
impl<'de> Deserialize<'de> for LicenseSet
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
impl Eq for LicenseSet
Source§impl PartialEq for LicenseSet
impl PartialEq for LicenseSet
Source§impl Serialize for LicenseSet
impl Serialize for LicenseSet
impl StructuralPartialEq for LicenseSet
Auto Trait Implementations§
impl Freeze for LicenseSet
impl RefUnwindSafe for LicenseSet
impl Send for LicenseSet
impl Sync for LicenseSet
impl Unpin for LicenseSet
impl UnsafeUnpin for LicenseSet
impl UnwindSafe for LicenseSet
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