[][src]Struct license::Conditions

pub struct Conditions {
    pub disclose_sources: bool,
    pub document_changes: bool,
    pub license_and_copyright_notice: bool,
    pub network_use_is_distribution: bool,
    pub same_license: bool,
}

The conditions of the license.

Fields

disclose_sources: bool

Source code must be made available when the software is distributed.

document_changes: bool

Changes made to the code must be documented.

license_and_copyright_notice: bool

The license and copyright notice must be included with the software.

network_use_is_distribution: bool

Users who interact with the software via network are given the right to receive a copy of the source code.

same_license: bool

Modifications must be released under the same license.

Trait Implementations

impl Display for Conditions[src]

impl Debug for Conditions[src]

impl PartialEq<Conditions> for Conditions[src]

impl Eq for Conditions[src]

impl Ord for Conditions[src]

impl PartialOrd<Conditions> for Conditions[src]

impl Hash for Conditions[src]

impl Copy for Conditions[src]

impl StructuralPartialEq for Conditions[src]

impl StructuralEq for Conditions[src]

impl Clone for Conditions[src]

Auto Trait Implementations

impl Unpin for Conditions

impl Send for Conditions

impl Sync for Conditions

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]