[][src]Struct appstream::License

pub struct License(pub String);

A SPDX license. See the list of commonly found licenses https://spdx.org/licenses/.

Trait Implementations

impl Clone for License[src]

impl Debug for License[src]

impl<'de> Deserialize<'de> for License[src]

impl Eq for License[src]

impl<'_> From<&'_ str> for License[src]

impl From<String> for License[src]

impl Into<String> for License[src]

impl PartialEq<License> for License[src]

impl Serialize for License[src]

impl StructuralEq for License[src]

impl StructuralPartialEq for License[src]

impl ToString for License[src]

impl<'_> TryFrom<&'_ Element> for License[src]

type Error = ParseError

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for License

impl Send for License

impl Sync for License

impl Unpin for License

impl UnwindSafe for License

Blanket Implementations

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

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

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

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[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> 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.