pub struct ProviderUse {
pub index: usize,
pub model: String,
pub location: String,
pub files: usize,
}Expand description
One provider’s share of a run.
The backend location is carried, not just the model, because “gpt-5.6-sol” does not tell a user whether they paid for it - two entries can name the same model at a local proxy and at the vendor.
Fields§
§index: usizeZero-based position in the chain. Rendered one-based.
model: String§location: String§files: usizeAuto Trait Implementations§
impl Freeze for ProviderUse
impl RefUnwindSafe for ProviderUse
impl Send for ProviderUse
impl Sync for ProviderUse
impl Unpin for ProviderUse
impl UnsafeUnpin for ProviderUse
impl UnwindSafe for ProviderUse
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