pub struct CallDecision {
pub algorithm: String,
pub request: DecisionRequest,
pub model: ModelId,
/* private fields */
}Expand description
A host-owned decision call. Dropping it without replying yields DriverError::ResponseDropped.
Fields§
§algorithm: StringAlgorithm name for attributing host telemetry.
request: DecisionRequestIts model is set to Self::model before dispatch.
model: ModelIdTarget ID for client lookup.
Implementations§
Source§impl CallDecision
impl CallDecision
Auto Trait Implementations§
impl !RefUnwindSafe for CallDecision
impl !UnwindSafe for CallDecision
impl Freeze for CallDecision
impl Send for CallDecision
impl Sync for CallDecision
impl Unpin for CallDecision
impl UnsafeUnpin for CallDecision
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