pub struct UsageRow {Show 14 fields
pub line: u64,
pub date: String,
pub product: String,
pub sku: String,
pub quantity: Micros,
pub unit_type: String,
pub applied_cost_per_quantity: Micros,
pub gross: Micros,
pub discount: Micros,
pub net: Micros,
pub username: String,
pub organization: String,
pub repository: String,
pub workflow_path: String,
}Expand description
One row from a GitHub detailed usage report.
Money and quantity are Micros. They are summed as integers and rounded
only when a report prints them.
Fields§
§line: u641-based physical line in the CSV file. The header is line 1.
date: String§product: String§sku: String§quantity: Micros§unit_type: String§applied_cost_per_quantity: Micros§gross: Micros§discount: Micros§net: Micros§username: String§organization: String§repository: String§workflow_path: StringTrait Implementations§
impl Eq for UsageRow
impl StructuralPartialEq for UsageRow
Auto Trait Implementations§
impl Freeze for UsageRow
impl RefUnwindSafe for UsageRow
impl Send for UsageRow
impl Sync for UsageRow
impl Unpin for UsageRow
impl UnsafeUnpin for UsageRow
impl UnwindSafe for UsageRow
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