pub struct CostsResult {
pub amount: Option<CostsResultAmount>,
pub line_item: Option<String>,
pub project_id: Option<String>,
}
Expand description
The aggregated costs details of the specific time bucket.
Fields§
§amount: Option<CostsResultAmount>
The 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.
project_id: Option<String>
When group_by=project_id
, this field provides the project ID of the grouped costs result.
Implementations§
Source§impl CostsResult
impl CostsResult
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 · 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 Default for CostsResult
impl Default for CostsResult
Source§fn default() -> CostsResult
fn default() -> CostsResult
Returns the “default value” for a type. Read more
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
Source§impl PartialEq for CostsResult
impl PartialEq for CostsResult
Source§impl Serialize for CostsResult
impl Serialize for CostsResult
impl StructuralPartialEq for CostsResult
Auto Trait Implementations§
impl Freeze for CostsResult
impl RefUnwindSafe for CostsResult
impl Send for CostsResult
impl Sync for CostsResult
impl Unpin 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