pub struct GlossaryResp {
pub glossary_id: String,
pub name: String,
pub ready: bool,
pub source_lang: Lang,
pub target_lang: Lang,
pub creation_time: String,
pub entry_count: u64,
}
Fields§
§glossary_id: String
A unique ID assigned to a glossary.
name: String
Name associated with the glossary.
ready: 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: Lang
The language in which the source texts in the glossary are specified.
target_lang: Lang
The language in which the target texts in the glossary are specified.
creation_time: String
The creation time of the glossary in the ISO 8601-1:2019 format (e.g.: 2021-08-03T14:16:18.329Z).
entry_count: u64
The number of entries in the glossary.
Trait Implementations§
Source§impl Debug for GlossaryResp
impl Debug for GlossaryResp
Source§impl<'de> Deserialize<'de> for GlossaryResp
impl<'de> Deserialize<'de> for GlossaryResp
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
Source§impl PartialEq for GlossaryResp
impl PartialEq for GlossaryResp
Source§impl Serialize for GlossaryResp
impl Serialize for GlossaryResp
impl StructuralPartialEq for GlossaryResp
Auto Trait Implementations§
impl Freeze for GlossaryResp
impl RefUnwindSafe for GlossaryResp
impl Send for GlossaryResp
impl Sync for GlossaryResp
impl Unpin for GlossaryResp
impl UnwindSafe for GlossaryResp
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