Struct hcloud::models::list_prices_response::ListPricesResponse
source · pub struct ListPricesResponse {
pub pricing: Box<ListPricesResponsePricing>,
}
Expand description
ListPricesResponse : Response to GET https://api.hetzner.cloud/v1/pricing
Fields§
§pricing: Box<ListPricesResponsePricing>
Implementations§
source§impl ListPricesResponse
impl ListPricesResponse
sourcepub fn new(pricing: ListPricesResponsePricing) -> ListPricesResponse
pub fn new(pricing: ListPricesResponsePricing) -> ListPricesResponse
Response to GET https://api.hetzner.cloud/v1/pricing
Trait Implementations§
source§impl Clone for ListPricesResponse
impl Clone for ListPricesResponse
source§fn clone(&self) -> ListPricesResponse
fn clone(&self) -> ListPricesResponse
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 ListPricesResponse
impl Debug for ListPricesResponse
source§impl Default for ListPricesResponse
impl Default for ListPricesResponse
source§fn default() -> ListPricesResponse
fn default() -> ListPricesResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ListPricesResponse
impl<'de> Deserialize<'de> for ListPricesResponse
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 ListPricesResponse
impl PartialEq for ListPricesResponse
source§fn eq(&self, other: &ListPricesResponse) -> bool
fn eq(&self, other: &ListPricesResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ListPricesResponse
impl Serialize for ListPricesResponse
impl StructuralPartialEq for ListPricesResponse
Auto Trait Implementations§
impl RefUnwindSafe for ListPricesResponse
impl Send for ListPricesResponse
impl Sync for ListPricesResponse
impl Unpin for ListPricesResponse
impl UnwindSafe for ListPricesResponse
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