pub struct SubAttributes {
pub alias: String,
}
Expand description
The sub element is employed to indicate that the text in the alias attribute value replaces the contained text for pronunciation. This allows a document to contain both a spoken and written form. The REQUIRED alias attribute specifies the string to be spoken instead of the enclosed string. The processor SHOULD apply text normalization to the alias value.
The sub element can only contain text (no elements).
“Speech Synthesis Markup Language (SSML) Version 1.1” Copyright © 2010 W3C® (MIT, ERCIM, Keio), All Rights Reserved.
Fields§
§alias: String
The string to be spoken instead of the string enclosed in the tag
Trait Implementations§
Source§impl Clone for SubAttributes
impl Clone for SubAttributes
Source§fn clone(&self) -> SubAttributes
fn clone(&self) -> SubAttributes
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 SubAttributes
impl Debug for SubAttributes
Source§impl Display for SubAttributes
impl Display for SubAttributes
Source§impl PartialEq for SubAttributes
impl PartialEq for SubAttributes
impl Eq for SubAttributes
impl StructuralPartialEq for SubAttributes
Auto Trait Implementations§
impl Freeze for SubAttributes
impl RefUnwindSafe for SubAttributes
impl Send for SubAttributes
impl Sync for SubAttributes
impl Unpin for SubAttributes
impl UnwindSafe for SubAttributes
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