Struct google_webfonts1::api::Webfont[][src]

pub struct Webfont {
    pub category: Option<String>,
    pub family: Option<String>,
    pub files: Option<HashMap<String, String>>,
    pub kind: Option<String>,
    pub last_modified: Option<String>,
    pub subsets: Option<Vec<String>>,
    pub variants: Option<Vec<String>>,
    pub version: Option<String>,
}

Metadata describing a family of fonts.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

category: Option<String>

The category of the font.

family: Option<String>

The name of the font.

files: Option<HashMap<String, String>>

The font files (with all supported scripts) for each one of the available variants, as a key : value map.

kind: Option<String>

This kind represents a webfont object in the webfonts service.

last_modified: Option<String>

The date (format “yyyy-MM-dd”) the font was modified for the last time.

subsets: Option<Vec<String>>

The scripts supported by the font.

variants: Option<Vec<String>>

The available variants for the font.

version: Option<String>

The font version.

Trait Implementations

impl Clone for Webfont[src]

impl Debug for Webfont[src]

impl Default for Webfont[src]

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

impl Resource for Webfont[src]

impl Serialize for Webfont[src]

Auto Trait Implementations

impl RefUnwindSafe for Webfont

impl Send for Webfont

impl Sync for Webfont

impl Unpin for Webfont

impl UnwindSafe for Webfont

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