Struct hcloud::models::list_prices_response_pricing_floating_ips::ListPricesResponsePricingFloatingIps
source · pub struct ListPricesResponsePricingFloatingIps {
pub prices: Vec<PricePerTimeMonthly>,
pub type: IpType,
}
Fields§
§prices: Vec<PricePerTimeMonthly>
Floating IP type costs per Location
type: IpType
Implementations§
source§impl ListPricesResponsePricingFloatingIps
impl ListPricesResponsePricingFloatingIps
pub fn new( prices: Vec<PricePerTimeMonthly>, type: IpType ) -> ListPricesResponsePricingFloatingIps
Trait Implementations§
source§impl Clone for ListPricesResponsePricingFloatingIps
impl Clone for ListPricesResponsePricingFloatingIps
source§fn clone(&self) -> ListPricesResponsePricingFloatingIps
fn clone(&self) -> ListPricesResponsePricingFloatingIps
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 Default for ListPricesResponsePricingFloatingIps
impl Default for ListPricesResponsePricingFloatingIps
source§fn default() -> ListPricesResponsePricingFloatingIps
fn default() -> ListPricesResponsePricingFloatingIps
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ListPricesResponsePricingFloatingIps
impl<'de> Deserialize<'de> for ListPricesResponsePricingFloatingIps
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 ListPricesResponsePricingFloatingIps
impl PartialEq for ListPricesResponsePricingFloatingIps
source§fn eq(&self, other: &ListPricesResponsePricingFloatingIps) -> bool
fn eq(&self, other: &ListPricesResponsePricingFloatingIps) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListPricesResponsePricingFloatingIps
Auto Trait Implementations§
impl RefUnwindSafe for ListPricesResponsePricingFloatingIps
impl Send for ListPricesResponsePricingFloatingIps
impl Sync for ListPricesResponsePricingFloatingIps
impl Unpin for ListPricesResponsePricingFloatingIps
impl UnwindSafe for ListPricesResponsePricingFloatingIps
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