pub struct UpcloudPrice {
pub amount: f32,
pub price: f32,
}
Fields§
§amount: f32
The amount of objects the price applies to
price: f32
price in euro cent per hour. to get euros multiply with 100
Trait Implementations§
Source§impl Debug for UpcloudPrice
impl Debug for UpcloudPrice
Source§impl<'de> Deserialize<'de> for UpcloudPrice
impl<'de> Deserialize<'de> for UpcloudPrice
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 UpcloudPrice
impl RefUnwindSafe for UpcloudPrice
impl Send for UpcloudPrice
impl Sync for UpcloudPrice
impl Unpin for UpcloudPrice
impl UnwindSafe for UpcloudPrice
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