pub struct UsagePricing {
pub dollars_per_slot: f64,
pub dollars_per_minute: f64,
pub max_ms_per_slot: u64,
}Expand description
The billing rates a report’s totals are priced at, in US dollars.
A session is billed per executed slot, unless it averaged more than max_ms_per_slot of wall
time per slot; then it is billed per minute of wall time instead.
Fields§
§dollars_per_slot: f64Dollars per executed slot.
dollars_per_minute: f64Dollars per minute of wall time, for a session billed by time.
max_ms_per_slot: u64A session slower than this per slot, in milliseconds, is billed by wall time instead.
Implementations§
Trait Implementations§
Source§impl Clone for UsagePricing
impl Clone for UsagePricing
impl Copy for UsagePricing
Source§impl Debug for UsagePricing
impl Debug for UsagePricing
Source§impl<'de> Deserialize<'de> for UsagePricing
impl<'de> Deserialize<'de> for UsagePricing
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 UsagePricing
impl PartialEq for UsagePricing
Source§impl Serialize for UsagePricing
impl Serialize for UsagePricing
impl StructuralPartialEq for UsagePricing
Auto Trait Implementations§
impl Forget for UsagePricing
impl Freeze for UsagePricing
impl Move for UsagePricing
impl RefUnwindSafe for UsagePricing
impl Send for UsagePricing
impl Sync for UsagePricing
impl Unpin for UsagePricing
impl UnsafeUnpin for UsagePricing
impl UnwindSafe for UsagePricing
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