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>,
}
Expand description
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).
- list webfonts (none)
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
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Webfont
impl UnwindSafe for Webfont
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more