pub struct Glossary {
pub glossary_id: String,
pub name: String,
pub ready: bool,
pub source_lang: String,
pub target_lang: String,
pub creation_time: DateTime<Utc>,
pub entry_count: u64,
}Expand description
Representation of a glossary.
Fields
glossary_id: StringA unique ID assigned to a glossary.
name: StringName associated with the glossary.
ready: boolIndicates 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: StringThe language in which the source texts in the glossary are specified.
target_lang: StringThe language in which the target texts in the glossary are specified.
creation_time: DateTime<Utc>The creation time of the glossary.
entry_count: u64The number of entries in the glossary.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Glossary
impl<'de> Deserialize<'de> for Glossary
sourcefn 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 Glossary
impl Send for Glossary
impl Sync for Glossary
impl Unpin for Glossary
impl UnwindSafe for Glossary
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more