#[non_exhaustive]pub struct AppliedLicense {
pub type: Type,
pub os_license: String,
/* private fields */
}Expand description
AppliedLicense holds the license data returned by adaptation module report.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.type: TypeThe license type that was used in OS adaptation.
os_license: StringThe OS license returned from the adaptation module’s report.
Implementations§
Trait Implementations§
Source§impl Clone for AppliedLicense
impl Clone for AppliedLicense
Source§fn clone(&self) -> AppliedLicense
fn clone(&self) -> AppliedLicense
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 AppliedLicense
impl Debug for AppliedLicense
Source§impl Default for AppliedLicense
impl Default for AppliedLicense
Source§fn default() -> AppliedLicense
fn default() -> AppliedLicense
Returns the “default value” for a type. Read more
Source§impl Message for AppliedLicense
impl Message for AppliedLicense
Source§impl PartialEq for AppliedLicense
impl PartialEq for AppliedLicense
Source§fn eq(&self, other: &AppliedLicense) -> bool
fn eq(&self, other: &AppliedLicense) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AppliedLicense
Auto Trait Implementations§
impl Freeze for AppliedLicense
impl RefUnwindSafe for AppliedLicense
impl Send for AppliedLicense
impl Sync for AppliedLicense
impl Unpin for AppliedLicense
impl UnsafeUnpin for AppliedLicense
impl UnwindSafe for AppliedLicense
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