pub struct GetImageResponse {
pub image: Option<Box<Image>>,
}Expand description
GetImageResponse : Response to GET https://api.hetzner.cloud/v1/images/{id}
Fields§
§image: Option<Box<Image>>Implementations§
Source§impl GetImageResponse
impl GetImageResponse
Sourcepub fn new() -> GetImageResponse
pub fn new() -> GetImageResponse
Response to GET https://api.hetzner.cloud/v1/images/{id}
Trait Implementations§
Source§impl Clone for GetImageResponse
impl Clone for GetImageResponse
Source§fn clone(&self) -> GetImageResponse
fn clone(&self) -> GetImageResponse
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 GetImageResponse
impl Debug for GetImageResponse
Source§impl Default for GetImageResponse
impl Default for GetImageResponse
Source§fn default() -> GetImageResponse
fn default() -> GetImageResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetImageResponse
impl<'de> Deserialize<'de> for GetImageResponse
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 GetImageResponse
impl PartialEq for GetImageResponse
Source§fn eq(&self, other: &GetImageResponse) -> bool
fn eq(&self, other: &GetImageResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GetImageResponse
impl Serialize for GetImageResponse
impl StructuralPartialEq for GetImageResponse
Auto Trait Implementations§
impl Freeze for GetImageResponse
impl RefUnwindSafe for GetImageResponse
impl Send for GetImageResponse
impl Sync for GetImageResponse
impl Unpin for GetImageResponse
impl UnsafeUnpin for GetImageResponse
impl UnwindSafe for GetImageResponse
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