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. Served by the manager so the rates live in one place rather than in every client.
Fields§
§dollars_per_slot: f64§dollars_per_minute: f64§max_ms_per_slot: u64A run slower than this per slot 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 Freeze 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