pub struct ProviderModelId<'builder, 'id> { /* private fields */ }
Implementations§
Source§impl<'builder> ProviderModelId<'builder, '_>
impl<'builder> ProviderModelId<'builder, '_>
pub fn completion( self, ) -> Result<BoxCompletionModel<'builder>, ClientBuildError>
pub fn agent(self) -> Result<BoxAgentBuilder<'builder>, ClientBuildError>
pub fn embedding(self) -> Result<BoxEmbeddingModel<'builder>, ClientBuildError>
pub fn transcription( self, ) -> Result<BoxTranscriptionModel<'builder>, ClientBuildError>
Auto Trait Implementations§
impl<'builder, 'id> Freeze for ProviderModelId<'builder, 'id>
impl<'builder, 'id> RefUnwindSafe for ProviderModelId<'builder, 'id>
impl<'builder, 'id> !Send for ProviderModelId<'builder, 'id>
impl<'builder, 'id> !Sync for ProviderModelId<'builder, 'id>
impl<'builder, 'id> Unpin for ProviderModelId<'builder, 'id>
impl<'builder, 'id> UnwindSafe for ProviderModelId<'builder, 'id>
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