pub struct StandardModelListResponse {
pub inner: StandardModelListResponseInner,
pub backend: LLMBackend,
}Expand description
Standard model list response structure used by OpenAI-compatible providers
Fields§
§inner: StandardModelListResponseInner§backend: LLMBackendTrait Implementations§
Source§impl Clone for StandardModelListResponse
impl Clone for StandardModelListResponse
Source§fn clone(&self) -> StandardModelListResponse
fn clone(&self) -> StandardModelListResponse
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 moreSource§impl Debug for StandardModelListResponse
impl Debug for StandardModelListResponse
Source§impl ModelListResponse for StandardModelListResponse
impl ModelListResponse for StandardModelListResponse
fn get_models(&self) -> Vec<String>
fn get_models_raw(&self) -> Vec<Box<dyn ModelListRawEntry>>
fn get_backend(&self) -> LLMBackend
Auto Trait Implementations§
impl Freeze for StandardModelListResponse
impl RefUnwindSafe for StandardModelListResponse
impl Send for StandardModelListResponse
impl Sync for StandardModelListResponse
impl Unpin for StandardModelListResponse
impl UnwindSafe for StandardModelListResponse
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more