pub struct ProphecyParams {
pub top_k: usize,
pub min_risk: f32,
}Expand description
Parameters for Query 17: Prophecy.
Fields§
§top_k: usizeNumber of predictions to return.
min_risk: f32Minimum risk threshold.
Trait Implementations§
Source§impl Clone for ProphecyParams
impl Clone for ProphecyParams
Source§fn clone(&self) -> ProphecyParams
fn clone(&self) -> ProphecyParams
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 ProphecyParams
impl RefUnwindSafe for ProphecyParams
impl Send for ProphecyParams
impl Sync for ProphecyParams
impl Unpin for ProphecyParams
impl UnsafeUnpin for ProphecyParams
impl UnwindSafe for ProphecyParams
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