pub struct CostsResult {
pub object: String,
pub amount: CostsAmount,
pub line_item: Option<String>,
pub project_id: Option<String>,
pub organization_id: Option<String>,
}Expand description
The aggregated costs details of the specific time bucket.
Fields§
§object: StringThe object type, which is always organization.costs.result.
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.
project_id: Option<String>When group_by=project_id, this field provides the project ID of the grouped costs result.
organization_id: Option<String>The organization ID.
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<'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 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