Struct deepl_openapi::models::glossary::Glossary
source · pub struct Glossary {
pub glossary_id: Option<String>,
pub name: Option<String>,
pub ready: Option<bool>,
pub source_lang: Option<GlossarySourceLanguage>,
pub target_lang: Option<GlossaryTargetLanguage>,
pub creation_time: Option<String>,
pub entry_count: Option<i32>,
}
Fields§
§glossary_id: Option<String>
A unique ID assigned to a glossary.
name: Option<String>
Name associated with the glossary.
ready: Option<bool>
Indicates if the newly created glossary can already be used in translate
requests. If the created glossary is not yet ready, you have to wait and check the ready
status of the glossary before using it in a translate
request.
source_lang: Option<GlossarySourceLanguage>
§target_lang: Option<GlossaryTargetLanguage>
§creation_time: Option<String>
The creation time of the glossary in the ISO 8601-1:2019 format (e.g.: 2021-08-03T14:16:18.329Z
).
entry_count: Option<i32>
The number of entries in the glossary.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Glossary
impl<'de> Deserialize<'de> for Glossary
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