pub struct PriceHint {
pub hourly_usd: f64,
pub capacity_type: CapacityType,
}Expand description
A best-effort price estimate for a given shape.
Fields§
§hourly_usd: f64Estimated hourly cost in US dollars.
capacity_type: CapacityTypeCapacity type the estimate applies to.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PriceHint
impl<'de> Deserialize<'de> for PriceHint
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 PriceHint
impl RefUnwindSafe for PriceHint
impl Send for PriceHint
impl Sync for PriceHint
impl Unpin for PriceHint
impl UnsafeUnpin for PriceHint
impl UnwindSafe for PriceHint
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