pub struct CustomPronunciationParams {
pub phonetic_encoding: Option<String>,
pub phrase: Option<String>,
pub pronunciation: Option<String>,
}Expand description
Pronunciation customization for a phrase.
This type is not used in any activity, and only used as part of another schema.
Fields§
§phonetic_encoding: Option<String>The phonetic encoding of the phrase.
phrase: Option<String>The phrase to which the customization is applied. The phrase can be multiple words, such as proper nouns, but shouldn’t span the length of the sentence.
pronunciation: Option<String>The pronunciation of the phrase. This must be in the phonetic encoding specified above.
Trait Implementations§
Source§impl Clone for CustomPronunciationParams
impl Clone for CustomPronunciationParams
Source§fn clone(&self) -> CustomPronunciationParams
fn clone(&self) -> CustomPronunciationParams
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 CustomPronunciationParams
impl Debug for CustomPronunciationParams
Source§impl Default for CustomPronunciationParams
impl Default for CustomPronunciationParams
Source§fn default() -> CustomPronunciationParams
fn default() -> CustomPronunciationParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CustomPronunciationParams
impl<'de> Deserialize<'de> for CustomPronunciationParams
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
impl Part for CustomPronunciationParams
Auto Trait Implementations§
impl Freeze for CustomPronunciationParams
impl RefUnwindSafe for CustomPronunciationParams
impl Send for CustomPronunciationParams
impl Sync for CustomPronunciationParams
impl Unpin for CustomPronunciationParams
impl UnwindSafe for CustomPronunciationParams
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