Struct google_webfonts1::api::Webfont
source · pub struct Webfont {
pub axes: Option<Vec<Axis>>,
pub category: Option<String>,
pub family: Option<String>,
pub files: Option<HashMap<String, String>>,
pub kind: Option<String>,
pub last_modified: Option<String>,
pub menu: 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§
§axes: Option<Vec<Axis>>
Axis for variable fonts.
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.
Font URL for menu subset, a subset of the font that is enough to display the font name
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§
source§impl<'de> Deserialize<'de> for Webfont
impl<'de> Deserialize<'de> for Webfont
source§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
impl Resource for Webfont
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more