Struct FetchReport
pub struct FetchReport {
pub rows: Vec<(&'static str, String, &'static str)>,
}Expand description
What a book’s fetch asked for and got, key by key.
Fields§
§rows: Vec<(&'static str, String, &'static str)>One row per demanded key: (family, key, status), where family is
strip, fixing, fx or unresolved and status is answered,
missing (asked for and not returned) or absent (no recipe builds
it, so it was never asked for).
Implementations§
§impl FetchReport
impl FetchReport
pub fn of(demand: &Demand, data: &MarketData) -> Self
pub fn of(demand: &Demand, data: &MarketData) -> Self
The report of demand against what data returned.
Trait Implementations§
§impl Clone for FetchReport
impl Clone for FetchReport
§fn clone(&self) -> FetchReport
fn clone(&self) -> FetchReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for FetchReport
impl Debug for FetchReport
§impl Default for FetchReport
impl Default for FetchReport
§fn default() -> FetchReport
fn default() -> FetchReport
Returns the “default value” for a type. Read more
impl Eq for FetchReport
§impl PartialEq for FetchReport
impl PartialEq for FetchReport
impl StructuralPartialEq for FetchReport
Auto Trait Implementations§
impl Freeze for FetchReport
impl RefUnwindSafe for FetchReport
impl Send for FetchReport
impl Sync for FetchReport
impl Unpin for FetchReport
impl UnsafeUnpin for FetchReport
impl UnwindSafe for FetchReport
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