[][src]Struct libnib::config::Website

pub struct Website {
    pub description: String,
    pub license: Option<String>,
    pub metadata: Option<Metadata>,
    pub theme: Option<String>,
    pub title: String,
    pub url: String,
    // some fields omitted
}

Fields

description: Stringlicense: Option<String>metadata: Option<Metadata>theme: Option<String>title: Stringurl: String

Implementations

impl Website[src]

pub fn get_include(&self) -> Vec<String>[src]

pub fn get_lang(&self) -> String[src]

pub fn to_json(&self) -> Value[src]

Trait Implementations

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

impl Serialize for Website[src]

Auto Trait Implementations

impl RefUnwindSafe for Website

impl Send for Website

impl Sync for Website

impl Unpin for Website

impl UnwindSafe for Website

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, 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.