[][src]Struct google_translate3::Glossary

pub struct Glossary {
    pub submit_time: Option<String>,
    pub language_pair: Option<LanguageCodePair>,
    pub entry_count: Option<i32>,
    pub name: Option<String>,
    pub end_time: Option<String>,
    pub language_codes_set: Option<LanguageCodesSet>,
    pub input_config: Option<GlossaryInputConfig>,
}

Represents a glossary built from user provided data.

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).

Fields

submit_time: Option<String>

Output only. When CreateGlossary was called.

language_pair: Option<LanguageCodePair>

Used with unidirectional glossaries.

entry_count: Option<i32>

Output only. The number of entries defined in the glossary.

name: Option<String>

Required. The resource name of the glossary. Glossary names have the form projects/{project-number-or-id}/locations/{location-id}/glossaries/{glossary-id}.

end_time: Option<String>

Output only. When the glossary creation was finished.

language_codes_set: Option<LanguageCodesSet>

Used with equivalent term set glossaries.

input_config: Option<GlossaryInputConfig>

Required. Provides examples to build the glossary from. Total glossary must not exceed 10M Unicode codepoints.

Trait Implementations

impl Clone for Glossary[src]

impl Debug for Glossary[src]

impl Default for Glossary[src]

impl<'de> Deserialize<'de> for Glossary[src]

impl RequestValue for Glossary[src]

impl ResponseResult for Glossary[src]

impl Serialize for Glossary[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any