pub enum SsmlElement {
Break {
strength: Option<String>,
time: Option<String>,
},
Emphasis {
level: Option<String>,
text: String,
},
Lang {
xml_lang: String,
text: String,
},
P {
text: String,
},
Phoneme {
alphabet: Option<String>,
ph: String,
text: String,
},
Prosody {
pitch: Option<String>,
rate: Option<String>,
volume: Option<String>,
text: String,
},
S {
text: String,
},
SayAs {
interpret_as: String,
format: Option<String>,
text: String,
},
Sub {
alias: String,
text: String,
},
W {
role: Option<String>,
text: String,
},
AmazonEffect {
name: String,
text: String,
},
AmazonDomain {
name: String,
text: String,
},
}Expand description
SSML elements for enhanced speech synthesis
Variants§
Trait Implementations§
Source§impl Clone for SsmlElement
impl Clone for SsmlElement
Source§fn clone(&self) -> SsmlElement
fn clone(&self) -> SsmlElement
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 moreAuto Trait Implementations§
impl Freeze for SsmlElement
impl RefUnwindSafe for SsmlElement
impl Send for SsmlElement
impl Sync for SsmlElement
impl Unpin for SsmlElement
impl UnwindSafe for SsmlElement
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