pub struct SupportedLanguages {
pub languages: Option<Vec<SupportedLanguage>>,
}Expand description
The response message for discovering supported languages.
§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).
- locations get supported languages projects (response)
- get supported languages projects (response)
Fields§
§languages: Option<Vec<SupportedLanguage>>A list of supported language responses. This list contains an entry for each language the Translation API supports.
Trait Implementations§
Source§impl Clone for SupportedLanguages
impl Clone for SupportedLanguages
Source§fn clone(&self) -> SupportedLanguages
fn clone(&self) -> SupportedLanguages
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SupportedLanguages
impl Debug for SupportedLanguages
Source§impl Default for SupportedLanguages
impl Default for SupportedLanguages
Source§fn default() -> SupportedLanguages
fn default() -> SupportedLanguages
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SupportedLanguages
impl<'de> Deserialize<'de> for SupportedLanguages
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 Serialize for SupportedLanguages
impl Serialize for SupportedLanguages
impl ResponseResult for SupportedLanguages
Auto Trait Implementations§
impl Freeze for SupportedLanguages
impl RefUnwindSafe for SupportedLanguages
impl Send for SupportedLanguages
impl Sync for SupportedLanguages
impl Unpin for SupportedLanguages
impl UnwindSafe for SupportedLanguages
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