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>List of Locations.
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 duplicate of the value. Read more
1.0.0 (const: unstable) · 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
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 Freeze for ListLocationsResponse
impl RefUnwindSafe for ListLocationsResponse
impl Send for ListLocationsResponse
impl Sync for ListLocationsResponse
impl Unpin for ListLocationsResponse
impl UnsafeUnpin 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