pub struct RerankExecutedPayload {
pub served_by_profile_id: Option<String>,
pub model_id: Id128,
pub candidates: Vec<Id128>,
pub reranked: Vec<(Id128, Vec<(String, f32)>)>,
pub final_scores: Vec<(Id128, f32)>,
pub latency_us: u64,
pub hook_applied: bool,
pub hook_target_match: bool,
}Fields§
§served_by_profile_id: Option<String>§model_id: Id128§candidates: Vec<Id128>§reranked: Vec<(Id128, Vec<(String, f32)>)>§final_scores: Vec<(Id128, f32)>§latency_us: u64§hook_applied: bool§hook_target_match: boolTrait Implementations§
Source§impl Clone for RerankExecutedPayload
impl Clone for RerankExecutedPayload
Source§fn clone(&self) -> RerankExecutedPayload
fn clone(&self) -> RerankExecutedPayload
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 moreSource§impl Debug for RerankExecutedPayload
impl Debug for RerankExecutedPayload
Source§impl PartialEq for RerankExecutedPayload
impl PartialEq for RerankExecutedPayload
Source§fn eq(&self, other: &RerankExecutedPayload) -> bool
fn eq(&self, other: &RerankExecutedPayload) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RerankExecutedPayload
Auto Trait Implementations§
impl Freeze for RerankExecutedPayload
impl RefUnwindSafe for RerankExecutedPayload
impl Send for RerankExecutedPayload
impl Sync for RerankExecutedPayload
impl Unpin for RerankExecutedPayload
impl UnsafeUnpin for RerankExecutedPayload
impl UnwindSafe for RerankExecutedPayload
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