pub struct ProphecyOptions {
pub top_k: usize,
pub min_risk: f32,
pub now_timestamp: u64,
pub recent_window_secs: u64,
}Expand description
Options for prophecy prediction.
Fields§
§top_k: usizeMaximum number of predictions to return.
min_risk: f32Minimum risk score threshold (0.0 to 1.0).
now_timestamp: u64Timestamp considered “now” (0 = use current time).
recent_window_secs: u64Window (in seconds) for “recent” calculations (default 30 days).
Trait Implementations§
Source§impl Clone for ProphecyOptions
impl Clone for ProphecyOptions
Source§fn clone(&self) -> ProphecyOptions
fn clone(&self) -> ProphecyOptions
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 moreSource§impl Debug for ProphecyOptions
impl Debug for ProphecyOptions
Auto Trait Implementations§
impl Freeze for ProphecyOptions
impl RefUnwindSafe for ProphecyOptions
impl Send for ProphecyOptions
impl Sync for ProphecyOptions
impl Unpin for ProphecyOptions
impl UnsafeUnpin for ProphecyOptions
impl UnwindSafe for ProphecyOptions
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