pub struct ReasonResponseFrame {
pub inferences: Vec<InferenceStep>,
pub is_final: bool,
pub reason_status: Option<ReasonStatus>,
pub trace: Option<ReasonTrace>,
}Expand description
One streaming REASON_RESP frame (0x00A3). The last frame carries
is_final = true and a populated reason_status.
Fields§
§inferences: Vec<InferenceStep>§is_final: bool§reason_status: Option<ReasonStatus>§trace: Option<ReasonTrace>Per-stage read-pipeline trace. Populated only on the final frame and
only when the request set trace = true; None otherwise (and
omitted from the wire map so trace = false reasons pay nothing).
Mirrors RecallResponseFrame.trace.
Trait Implementations§
Source§impl Clone for ReasonResponseFrame
impl Clone for ReasonResponseFrame
Source§impl Debug for ReasonResponseFrame
impl Debug for ReasonResponseFrame
Source§impl<'de> Deserialize<'de> for ReasonResponseFrame
impl<'de> Deserialize<'de> for ReasonResponseFrame
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
Source§impl PartialEq for ReasonResponseFrame
impl PartialEq for ReasonResponseFrame
Source§impl Serialize for ReasonResponseFrame
impl Serialize for ReasonResponseFrame
impl StructuralPartialEq for ReasonResponseFrame
Auto Trait Implementations§
impl Freeze for ReasonResponseFrame
impl RefUnwindSafe for ReasonResponseFrame
impl Send for ReasonResponseFrame
impl Sync for ReasonResponseFrame
impl Unpin for ReasonResponseFrame
impl UnsafeUnpin for ReasonResponseFrame
impl UnwindSafe for ReasonResponseFrame
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