pub struct ListModelsOptions {
pub category: Option<String>,
pub supported_parameters: Option<String>,
}Expand description
Optional query parameters for crate::Client::list_models.
Fields§
§category: Option<String>Filters models by category (e.g. "programming"). Results are sorted
from most to least used.
supported_parameters: Option<String>Filters models by supported parameter (e.g. "tools", "temperature").
Implementations§
Trait Implementations§
Source§impl Clone for ListModelsOptions
impl Clone for ListModelsOptions
Source§fn clone(&self) -> ListModelsOptions
fn clone(&self) -> ListModelsOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ListModelsOptions
impl Debug for ListModelsOptions
Source§impl Default for ListModelsOptions
impl Default for ListModelsOptions
Source§fn default() -> ListModelsOptions
fn default() -> ListModelsOptions
Returns the “default value” for a type. Read more
impl Eq for ListModelsOptions
Source§impl PartialEq for ListModelsOptions
impl PartialEq for ListModelsOptions
impl StructuralPartialEq for ListModelsOptions
Auto Trait Implementations§
impl Freeze for ListModelsOptions
impl RefUnwindSafe for ListModelsOptions
impl Send for ListModelsOptions
impl Sync for ListModelsOptions
impl Unpin for ListModelsOptions
impl UnsafeUnpin for ListModelsOptions
impl UnwindSafe for ListModelsOptions
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