Struct hcloud::models::price_per_time_monthly::PricePerTimeMonthly
source · pub struct PricePerTimeMonthly {
pub location: String,
pub price_monthly: Box<Price>,
}
Fields§
§location: String
Name of the Location the price is for
price_monthly: Box<Price>
Implementations§
source§impl PricePerTimeMonthly
impl PricePerTimeMonthly
pub fn new(location: String, price_monthly: Price) -> PricePerTimeMonthly
Trait Implementations§
source§impl Clone for PricePerTimeMonthly
impl Clone for PricePerTimeMonthly
source§fn clone(&self) -> PricePerTimeMonthly
fn clone(&self) -> PricePerTimeMonthly
Returns a copy 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 PricePerTimeMonthly
impl Debug for PricePerTimeMonthly
source§impl Default for PricePerTimeMonthly
impl Default for PricePerTimeMonthly
source§fn default() -> PricePerTimeMonthly
fn default() -> PricePerTimeMonthly
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PricePerTimeMonthly
impl<'de> Deserialize<'de> for PricePerTimeMonthly
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 PricePerTimeMonthly
impl PartialEq for PricePerTimeMonthly
source§fn eq(&self, other: &PricePerTimeMonthly) -> bool
fn eq(&self, other: &PricePerTimeMonthly) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PricePerTimeMonthly
impl Serialize for PricePerTimeMonthly
impl StructuralPartialEq for PricePerTimeMonthly
Auto Trait Implementations§
impl RefUnwindSafe for PricePerTimeMonthly
impl Send for PricePerTimeMonthly
impl Sync for PricePerTimeMonthly
impl Unpin for PricePerTimeMonthly
impl UnwindSafe for PricePerTimeMonthly
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