pub struct ResolvedAlias {
pub name: String,
pub model_id: String,
pub provider: String,
pub harness: Option<String>,
pub harness_source: HarnessSource,
pub harness_candidates: Vec<String>,
pub description: Option<String>,
pub default_effort: Option<String>,
pub autocompact: Option<u8>,
pub availability: Option<ModelAvailability>,
}Expand description
Fully resolved model alias — everything a consumer needs to launch.
Fields§
§name: String§model_id: String§provider: String§harness: Option<String>§harness_source: HarnessSource§harness_candidates: Vec<String>§description: Option<String>§default_effort: Option<String>§autocompact: Option<u8>§availability: Option<ModelAvailability>Trait Implementations§
Source§impl Clone for ResolvedAlias
impl Clone for ResolvedAlias
Source§fn clone(&self) -> ResolvedAlias
fn clone(&self) -> ResolvedAlias
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 ResolvedAlias
impl Debug for ResolvedAlias
Auto Trait Implementations§
impl Freeze for ResolvedAlias
impl RefUnwindSafe for ResolvedAlias
impl Send for ResolvedAlias
impl Sync for ResolvedAlias
impl Unpin for ResolvedAlias
impl UnsafeUnpin for ResolvedAlias
impl UnwindSafe for ResolvedAlias
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> 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