pub struct ModelCandidate {
pub provider: ProviderInfo,
pub model: ModelInfo,
}Expand description
A flattened (provider, model) pair — the smallest projection unit of ACP
list_models.
Fields§
§provider: ProviderInfo§model: ModelInfoTrait Implementations§
Source§impl Clone for ModelCandidate
impl Clone for ModelCandidate
Source§fn clone(&self) -> ModelCandidate
fn clone(&self) -> ModelCandidate
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 moreAuto Trait Implementations§
impl Freeze for ModelCandidate
impl RefUnwindSafe for ModelCandidate
impl Send for ModelCandidate
impl Sync for ModelCandidate
impl Unpin for ModelCandidate
impl UnsafeUnpin for ModelCandidate
impl UnwindSafe for ModelCandidate
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