pub struct InputName {
pub lang: Language,
pub name_synonym: Vec<String>,
}
Expand description
Input for a given available language.
Fields§
§lang: Language
Language code.
name_synonym: Vec<String>
User-friendly names for the input, in a given language. The first synonym is used in Google Assistant’s response to the user.
Trait Implementations§
impl StructuralPartialEq for InputName
Auto Trait Implementations§
impl Freeze for InputName
impl RefUnwindSafe for InputName
impl Send for InputName
impl Sync for InputName
impl Unpin for InputName
impl UnwindSafe for InputName
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