Struct rust_ai::utils::config::AzureSpeech
source · pub struct AzureSpeech {
pub key: String,
pub region: String,
}Expand description
Service key for use in multiple Azure services.
Fields§
§key: StringKey content from https://portal.azure.com/
region: StringRegion name from https://portal.azure.com/
Trait Implementations§
source§impl Debug for AzureSpeech
impl Debug for AzureSpeech
source§impl Default for AzureSpeech
impl Default for AzureSpeech
source§fn default() -> AzureSpeech
fn default() -> AzureSpeech
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AzureSpeech
impl<'de> Deserialize<'de> for AzureSpeech
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
Auto Trait Implementations§
impl RefUnwindSafe for AzureSpeech
impl Send for AzureSpeech
impl Sync for AzureSpeech
impl Unpin for AzureSpeech
impl UnwindSafe for AzureSpeech
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