pub struct AzureExtBuilder { /* private fields */ }Trait Implementations§
Source§impl Clone for AzureExtBuilder
impl Clone for AzureExtBuilder
Source§fn clone(&self) -> AzureExtBuilder
fn clone(&self) -> AzureExtBuilder
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 AzureExtBuilder
impl Debug for AzureExtBuilder
Source§impl Default for AzureExtBuilder
impl Default for AzureExtBuilder
Source§fn default() -> AzureExtBuilder
fn default() -> AzureExtBuilder
Returns the “default value” for a type. Read more
Source§impl ProviderBuilder for AzureExtBuilder
impl ProviderBuilder for AzureExtBuilder
const BASE_URL: &'static str = ""
type Extension<H: HttpClientExt> = AzureExt
type ApiKey = AzureOpenAIAuth
Source§fn build<H>(
builder: &ClientBuilder<AzureExtBuilder, <AzureExtBuilder as ProviderBuilder>::ApiKey, H>,
) -> Result<<AzureExtBuilder as ProviderBuilder>::Extension<H>, Error>where
H: HttpClientExt,
fn build<H>(
builder: &ClientBuilder<AzureExtBuilder, <AzureExtBuilder as ProviderBuilder>::ApiKey, H>,
) -> Result<<AzureExtBuilder as ProviderBuilder>::Extension<H>, Error>where
H: HttpClientExt,
Build the provider extension from the client builder configuration.
Source§fn finish<H>(
&self,
builder: ClientBuilder<AzureExtBuilder, <AzureExtBuilder as ProviderBuilder>::ApiKey, H>,
) -> Result<ClientBuilder<AzureExtBuilder, <AzureExtBuilder as ProviderBuilder>::ApiKey, H>, Error>
fn finish<H>( &self, builder: ClientBuilder<AzureExtBuilder, <AzureExtBuilder as ProviderBuilder>::ApiKey, H>, ) -> Result<ClientBuilder<AzureExtBuilder, <AzureExtBuilder as ProviderBuilder>::ApiKey, H>, Error>
This method can be used to customize the fields of
builder before it is used to create
a client. For example, adding default headersAuto Trait Implementations§
impl Freeze for AzureExtBuilder
impl RefUnwindSafe for AzureExtBuilder
impl Send for AzureExtBuilder
impl Sync for AzureExtBuilder
impl Unpin for AzureExtBuilder
impl UnsafeUnpin for AzureExtBuilder
impl UnwindSafe for AzureExtBuilder
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