[][src]Struct license::Permissions

pub struct Permissions {
    pub commercial_use: bool,
    pub distribution: bool,
    pub modification: bool,
    pub patent_rights: bool,
    pub private_use: bool,
}

The permissions of the license.

Fields

commercial_use: bool

May be used for commercial purposes.

distribution: bool

May be distributed.

modification: bool

May be modified.

patent_rights: bool

Provides an express grant of patent rights from contributors.

private_use: bool

May be used for private purposes.

Trait Implementations

impl Display for Permissions[src]

impl Debug for Permissions[src]

impl PartialEq<Permissions> for Permissions[src]

impl Eq for Permissions[src]

impl Ord for Permissions[src]

impl PartialOrd<Permissions> for Permissions[src]

impl Hash for Permissions[src]

impl Copy for Permissions[src]

impl StructuralPartialEq for Permissions[src]

impl StructuralEq for Permissions[src]

impl Clone for Permissions[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]