pub struct GetLocationResponse {
pub location: Box<Location>,
}Expand description
GetLocationResponse : Response to GET https://api.hetzner.cloud/v1/locations/{id}
Fields§
§location: Box<Location>Implementations§
Source§impl GetLocationResponse
impl GetLocationResponse
Sourcepub fn new(location: Location) -> GetLocationResponse
pub fn new(location: Location) -> GetLocationResponse
Response to GET https://api.hetzner.cloud/v1/locations/{id}
Trait Implementations§
Source§impl Clone for GetLocationResponse
impl Clone for GetLocationResponse
Source§fn clone(&self) -> GetLocationResponse
fn clone(&self) -> GetLocationResponse
Returns a duplicate 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 GetLocationResponse
impl Debug for GetLocationResponse
Source§impl Default for GetLocationResponse
impl Default for GetLocationResponse
Source§fn default() -> GetLocationResponse
fn default() -> GetLocationResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetLocationResponse
impl<'de> Deserialize<'de> for GetLocationResponse
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 GetLocationResponse
impl PartialEq for GetLocationResponse
Source§impl Serialize for GetLocationResponse
impl Serialize for GetLocationResponse
impl StructuralPartialEq for GetLocationResponse
Auto Trait Implementations§
impl Freeze for GetLocationResponse
impl RefUnwindSafe for GetLocationResponse
impl Send for GetLocationResponse
impl Sync for GetLocationResponse
impl Unpin for GetLocationResponse
impl UnwindSafe for GetLocationResponse
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