pub struct Decided {
pub text_result: Option<TextResult>,
pub completion: Completion,
pub record: Arc<RunRecord>,
pub delivery: Delivery,
pub served_from_cache: Option<ServedFromCache>,
pub decision_cache_write: Option<Result<(), String>>,
}Fields§
§text_result: Option<TextResult>§completion: Completion§record: Arc<RunRecord>§delivery: Delivery§served_from_cache: Option<ServedFromCache>The decision-result cache entry the decision was served from, its judgment recomputed by the core (spec 044, 3.6.6).
decision_cache_write: Option<Result<(), String>>The persistent tier’s answer to this decision’s entry (spec 044,
3.6.4): Ok when stored, otherwise the diagnostic of an admission
not made, a store failure under either on_store_failure included
(3.4.2). The entry names the delivered run record’s digest, so it
is written after delivery and its answer is here, not in that
record. None when nothing was to be written.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Decided
impl !UnwindSafe for Decided
impl Freeze for Decided
impl Send for Decided
impl Sync for Decided
impl Unpin for Decided
impl UnsafeUnpin for Decided
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