pub struct BillingEntry {
pub instance_id: String,
pub instance_name: Option<String>,
pub cost_usd: f64,
pub usage_hours: Option<f64>,
pub sku_description: Option<String>,
pub start_time: Option<String>,
pub end_time: Option<String>,
}Expand description
A single billing line item from BigQuery.
Fields§
§instance_id: StringInstance identifier.
instance_name: Option<String>Instance name.
cost_usd: f64Total cost in USD.
usage_hours: Option<f64>Usage duration in hours.
sku_description: Option<String>SKU description (e.g. “N1 Predefined Instance Core”).
start_time: Option<String>Billing period start.
end_time: Option<String>Billing period end.
Trait Implementations§
Source§impl Clone for BillingEntry
impl Clone for BillingEntry
Source§fn clone(&self) -> BillingEntry
fn clone(&self) -> BillingEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BillingEntry
impl Debug for BillingEntry
Source§impl<'de> Deserialize<'de> for BillingEntry
impl<'de> Deserialize<'de> for BillingEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BillingEntry
impl RefUnwindSafe for BillingEntry
impl Send for BillingEntry
impl Sync for BillingEntry
impl Unpin for BillingEntry
impl UnsafeUnpin for BillingEntry
impl UnwindSafe for BillingEntry
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