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