pub struct DiscardedAnswer {
pub purpose: String,
pub round: u32,
pub code: String,
pub reason: String,
}Expand description
One answer a model produced and a check refused whole.
A call can succeed and the turn still lose its answer, to a pointer outside the
message or a document of the wrong shape. The repair round usually recovers and
nobody counts the cost; when it does not, the turn does nothing and asks nothing,
and this is the only place that says why. Derived from ReplayRecord::tasks.
Fields§
§purpose: StringThe task’s purpose, such as "extract" or "answer".
round: u32Which refusal of its task this was, from 1.
code: StringStable code of the failed check: the field to group by.
reason: StringThe refusal in words, as the repair round was told it.
Trait Implementations§
Source§impl Clone for DiscardedAnswer
impl Clone for DiscardedAnswer
Source§impl Debug for DiscardedAnswer
impl Debug for DiscardedAnswer
Source§impl<'de> Deserialize<'de> for DiscardedAnswer
impl<'de> Deserialize<'de> for DiscardedAnswer
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DiscardedAnswer
Source§impl PartialEq for DiscardedAnswer
impl PartialEq for DiscardedAnswer
Source§impl Serialize for DiscardedAnswer
impl Serialize for DiscardedAnswer
impl StructuralPartialEq for DiscardedAnswer
Auto Trait Implementations§
impl Freeze for DiscardedAnswer
impl RefUnwindSafe for DiscardedAnswer
impl Send for DiscardedAnswer
impl Sync for DiscardedAnswer
impl Unpin for DiscardedAnswer
impl UnsafeUnpin for DiscardedAnswer
impl UnwindSafe for DiscardedAnswer
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.