pub struct CustomProviderConfig {
pub chat_endpoint: String,
pub embedding_endpoint: Option<String>,
pub image_endpoint: Option<String>,
pub audio_endpoint: Option<String>,
pub speech_endpoint: Option<String>,
pub request_format: RequestFormat,
pub response_format: ResponseFormat,
pub auth_type: AuthType,
}Fields§
§chat_endpoint: String§embedding_endpoint: Option<String>§image_endpoint: Option<String>§audio_endpoint: Option<String>§speech_endpoint: Option<String>§request_format: RequestFormat§response_format: ResponseFormat§auth_type: AuthTypeTrait Implementations§
Source§impl Clone for CustomProviderConfig
impl Clone for CustomProviderConfig
Source§fn clone(&self) -> CustomProviderConfig
fn clone(&self) -> CustomProviderConfig
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 CustomProviderConfig
impl RefUnwindSafe for CustomProviderConfig
impl Send for CustomProviderConfig
impl Sync for CustomProviderConfig
impl Unpin for CustomProviderConfig
impl UnwindSafe for CustomProviderConfig
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