pub struct Report {
pub kind: ReportKind,
pub rows: Vec<ReportRow>,
pub total: Metrics,
pub pricing_source: Option<String>,
pub pricing_is_estimate: bool,
}Expand description
A complete report: rows + grand total + pricing provenance.
Fields§
§kind: ReportKind§rows: Vec<ReportRow>§total: Metrics§pricing_source: Option<String>§pricing_is_estimate: boolTrait Implementations§
Source§impl Serialize for Report
impl Serialize for Report
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for Report
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnsafeUnpin for Report
impl UnwindSafe for Report
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