Download tests/integration-tests/client/src/models/font_source.rs from Jadewave/trans2: direct link, hf CLI and curl.
- Browser
- Download file 823 Bytes
-
https://huggingface.co/spaces/Jadewave/trans2/resolve/main/tests/integration-tests/client/src/models/font_source.rs
- Command line
-
hf download hf://spaces/Jadewave/trans2/tests/integration-tests/client/src/models/font_source.rs
-
curl -L -o font_source.rs https://huggingface.co/spaces/Jadewave/trans2/resolve/main/tests/integration-tests/client/src/models/font_source.rs
823 Bytes
| /* | |
| * | |
| * | |
| * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | |
| * | |
| * The version of the OpenAPI document: | |
| * | |
| * Generated by: https://openapi-generator.tech | |
| */ | |
| use crate::models; | |
| use serde::{Deserialize, Serialize}; | |
| /// | |
| pub enum FontSource { | |
| System, | |
| Google, | |
| } | |
| impl std::fmt::Display for FontSource { | |
| fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { | |
| match self { | |
| Self::System => write!(f, "system"), | |
| Self::Google => write!(f, "google"), | |
| } | |
| } | |
| } | |
| impl Default for FontSource { | |
| fn default() -> FontSource { | |
| Self::System | |
| } | |
| } | |