pub struct Models { /* private fields */ }Expand description
Access to the Models API resource.
Implementations§
Source§impl Models
impl Models
Sourcepub fn list(&self) -> Call<Vec<ModelCard>>
pub fn list(&self) -> Call<Vec<ModelCard>>
List the models available to the account.
Liquid has no documented catalog endpoint: this sends a small inference
probe and returns the responding model. It consumes input tokens.
OpenRouter returns decision models from its public catalog; use
Client::check to verify credentials too.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Models
impl !UnwindSafe for Models
impl Freeze for Models
impl Send for Models
impl Sync for Models
impl Unpin for Models
impl UnsafeUnpin for Models
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