Struct cognitive_services_speech_sdk_rs::speech::VoiceInfo
source · [−]pub struct VoiceInfo {
pub handle: SmartHandle<SPXRESULTHANDLE>,
pub name: String,
pub locale: String,
pub short_name: String,
pub local_name: String,
pub voice_type: SynthesisVoiceType,
pub style_list: Vec<String>,
pub voice_path: String,
pub properties: PropertyCollection,
}
Fields
handle: SmartHandle<SPXRESULTHANDLE>
name: String
locale: String
short_name: String
local_name: String
voice_type: SynthesisVoiceType
style_list: Vec<String>
voice_path: String
properties: PropertyCollection
Implementations
sourceimpl VoiceInfo
impl VoiceInfo
pub fn from_handle(handle: SPXRESULTHANDLE) -> Result<Self>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for VoiceInfo
impl Send for VoiceInfo
impl !Sync for VoiceInfo
impl Unpin for VoiceInfo
impl UnwindSafe for VoiceInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more