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