pub struct RankingModelInfo {
pub id: &'static str,
pub provider: &'static str,
pub max_documents: usize,
pub max_query_tokens: usize,
pub price_per_1k_searches: f64,
}Expand description
Information about a ranking model.
Fields§
§id: &'static strModel ID.
provider: &'static strProvider.
max_documents: usizeMax documents per request.
max_query_tokens: usizeMax query tokens.
price_per_1k_searches: f64Price per 1000 searches (USD).
Trait Implementations§
Source§impl Clone for RankingModelInfo
impl Clone for RankingModelInfo
Source§fn clone(&self) -> RankingModelInfo
fn clone(&self) -> RankingModelInfo
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 moreAuto Trait Implementations§
impl Freeze for RankingModelInfo
impl RefUnwindSafe for RankingModelInfo
impl Send for RankingModelInfo
impl Sync for RankingModelInfo
impl Unpin for RankingModelInfo
impl UnwindSafe for RankingModelInfo
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