pub struct CostsResult {
pub amount: CostsAmount,
pub line_item: Option<String>,
pub quantity: Option<f64>,
pub project_id: Option<String>,
pub api_key_id: Option<String>,
}Available on crate feature
administration-types only.Expand description
The aggregated costs details of the specific time bucket.
Fields§
§amount: CostsAmountThe monetary value in its associated currency.
line_item: Option<String>When group_by=line_item, this field provides the line item of the grouped costs result.
quantity: Option<f64>When group_by=line_item, this field provides the quantity of the grouped costs result.
project_id: Option<String>When group_by=project_id, this field provides the project ID of the grouped costs result.
api_key_id: Option<String>When group_by=api_key_id, this field provides the API Key ID of the grouped costs result.
Trait Implementations§
Source§impl Clone for CostsResult
impl Clone for CostsResult
Source§fn clone(&self) -> CostsResult
fn clone(&self) -> CostsResult
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 moreSource§impl Debug for CostsResult
impl Debug for CostsResult
Source§impl<'de> Deserialize<'de> for CostsResult
impl<'de> Deserialize<'de> for CostsResult
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 CostsResult
impl RefUnwindSafe for CostsResult
impl Send for CostsResult
impl Sync for CostsResult
impl Unpin for CostsResult
impl UnsafeUnpin for CostsResult
impl UnwindSafe for CostsResult
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