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