pub struct AzureConfig {
pub resource: String,
pub deployment: String,
pub api_version: String,
}Expand description
Azure OpenAI configuration.
Fields§
§resource: StringAzure resource name (e.g., “my-resource”).
deployment: StringAzure deployment name (e.g., “gpt-4-deployment”).
api_version: StringAzure API version (e.g., “2024-10-21”).
Trait Implementations§
Source§impl Clone for AzureConfig
impl Clone for AzureConfig
Source§fn clone(&self) -> AzureConfig
fn clone(&self) -> AzureConfig
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 AzureConfig
impl RefUnwindSafe for AzureConfig
impl Send for AzureConfig
impl Sync for AzureConfig
impl Unpin for AzureConfig
impl UnwindSafe for AzureConfig
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