pub struct Models<'a>(/* private fields */);Expand description
Models resource associated with an asynchronous client.
Implementations§
Source§impl Models<'_>
impl Models<'_>
Sourcepub async fn list(&self) -> Result<ListModelsResponse, Error>
pub async fn list(&self) -> Result<ListModelsResponse, Error>
List available model cards with response metadata.
Sourcepub async fn list_with_options(
&self,
options: RequestOptions,
) -> Result<ListModelsResponse, Error>
pub async fn list_with_options( &self, options: RequestOptions, ) -> Result<ListModelsResponse, Error>
List models with per-call request overrides.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Models<'a>
impl<'a> !UnwindSafe for Models<'a>
impl<'a> Freeze for Models<'a>
impl<'a> Send for Models<'a>
impl<'a> Sync for Models<'a>
impl<'a> Unpin for Models<'a>
impl<'a> UnsafeUnpin for Models<'a>
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