#[non_exhaustive]pub struct ProjectedCostAttributes {
pub account_name: Option<String>,
pub account_public_id: Option<String>,
pub charges: Option<Vec<ChargebackBreakdown>>,
pub date: Option<DateTime<Utc>>,
pub org_name: Option<String>,
pub projected_total_cost: Option<f64>,
pub public_id: Option<String>,
pub region: Option<String>,
pub additional_properties: BTreeMap<String, Value>,
/* private fields */
}
Expand description
Projected Cost attributes data.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.account_name: Option<String>
The account name.
account_public_id: Option<String>
The account public ID.
charges: Option<Vec<ChargebackBreakdown>>
List of charges data reported for the requested month.
date: Option<DateTime<Utc>>
The month requested.
org_name: Option<String>
The organization name.
projected_total_cost: Option<f64>
The total projected cost of products for the month.
public_id: Option<String>
The organization public ID.
region: Option<String>
The region of the Datadog instance that the organization belongs to.
additional_properties: BTreeMap<String, Value>
Implementations§
Source§impl ProjectedCostAttributes
impl ProjectedCostAttributes
pub fn new() -> ProjectedCostAttributes
pub fn account_name(self, value: String) -> Self
pub fn account_public_id(self, value: String) -> Self
pub fn charges(self, value: Vec<ChargebackBreakdown>) -> Self
pub fn date(self, value: DateTime<Utc>) -> Self
pub fn org_name(self, value: String) -> Self
pub fn projected_total_cost(self, value: f64) -> Self
pub fn public_id(self, value: String) -> Self
pub fn region(self, value: String) -> Self
pub fn additional_properties(self, value: BTreeMap<String, Value>) -> Self
Trait Implementations§
Source§impl Clone for ProjectedCostAttributes
impl Clone for ProjectedCostAttributes
Source§fn clone(&self) -> ProjectedCostAttributes
fn clone(&self) -> ProjectedCostAttributes
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 ProjectedCostAttributes
impl Debug for ProjectedCostAttributes
Source§impl Default for ProjectedCostAttributes
impl Default for ProjectedCostAttributes
Source§impl<'de> Deserialize<'de> for ProjectedCostAttributes
impl<'de> Deserialize<'de> for ProjectedCostAttributes
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 ProjectedCostAttributes
impl PartialEq for ProjectedCostAttributes
Source§impl Serialize for ProjectedCostAttributes
impl Serialize for ProjectedCostAttributes
impl StructuralPartialEq for ProjectedCostAttributes
Auto Trait Implementations§
impl Freeze for ProjectedCostAttributes
impl RefUnwindSafe for ProjectedCostAttributes
impl Send for ProjectedCostAttributes
impl Sync for ProjectedCostAttributes
impl Unpin for ProjectedCostAttributes
impl UnwindSafe for ProjectedCostAttributes
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