pub struct BillingResponse {
pub entries: Vec<BillingEntry>,
pub total_cost_usd: f64,
}Expand description
Response from billing query.
Fields§
§entries: Vec<BillingEntry>Individual billing entries.
total_cost_usd: f64Total cost across all entries.
Trait Implementations§
Source§impl Clone for BillingResponse
impl Clone for BillingResponse
Source§fn clone(&self) -> BillingResponse
fn clone(&self) -> BillingResponse
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 BillingResponse
impl Debug for BillingResponse
Source§impl<'de> Deserialize<'de> for BillingResponse
impl<'de> Deserialize<'de> for BillingResponse
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 BillingResponse
impl RefUnwindSafe for BillingResponse
impl Send for BillingResponse
impl Sync for BillingResponse
impl Unpin for BillingResponse
impl UnsafeUnpin for BillingResponse
impl UnwindSafe for BillingResponse
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