pub struct Response {
pub text: String,
pub backend: String,
pub model: Option<String>,
pub duration: Duration,
pub exit_code: i32,
pub chars_in: usize,
}Expand description
Successful backend response.
Fields§
§text: String§backend: String§model: Option<String>§duration: Duration§exit_code: i32§chars_in: usizeTotal characters sent on the conceptual payload (body + system).
Populated by each backend from its FlatPayload; surfaced only in
the -v .send() telemetry line, not in the send_full() map.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Response
impl RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl UnsafeUnpin for Response
impl UnwindSafe for Response
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