pub struct Answer {
pub value: Output,
pub source: Source,
pub profile: &'static str,
pub rate: Option<u32>,
pub dropped: Vec<Line>,
pub tail_db: Option<f64>,
}Expand description
Every answer says which reading ran and under which profile, so a caller never has to infer either from the shape of the value.
Fields§
§value: Output§source: Source§profile: &'static str§rate: Option<u32>§dropped: Vec<Line>FORMAT 14.1: a series answers the terms it keeps, the tail beside them.
tail_db: Option<f64>Implementations§
Trait Implementations§
impl StructuralPartialEq for Answer
Auto Trait Implementations§
impl Freeze for Answer
impl RefUnwindSafe for Answer
impl Send for Answer
impl Sync for Answer
impl Unpin for Answer
impl UnsafeUnpin for Answer
impl UnwindSafe for Answer
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