pub struct StorageApi<'a> { /* private fields */ }Implementations§
Source§impl<'a> StorageApi<'a>
impl<'a> StorageApi<'a>
pub async fn list_volumes(self, query: Option<&QueryPairs>) -> Result<Value>
pub async fn create_volume(self, body: Value) -> Result<Value>
pub async fn get_volume(self, id: impl ToString) -> Result<Value>
pub async fn update_volume( self, id: impl ToString, body: Value, ) -> Result<Value>
pub async fn delete_volume(self, id: impl ToString) -> Result<Value>
pub async fn list_images(self, query: Option<&QueryPairs>) -> Result<Value>
pub async fn get_image(self, id: impl ToString) -> Result<Value>
pub async fn list_isos(self, query: Option<&QueryPairs>) -> Result<Value>
pub async fn get_iso(self, id: impl ToString) -> Result<Value>
Trait Implementations§
Source§impl<'a> Clone for StorageApi<'a>
impl<'a> Clone for StorageApi<'a>
Source§fn clone(&self) -> StorageApi<'a>
fn clone(&self) -> StorageApi<'a>
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<'a> Debug for StorageApi<'a>
impl<'a> Debug for StorageApi<'a>
impl<'a> Copy for StorageApi<'a>
Auto Trait Implementations§
impl<'a> Freeze for StorageApi<'a>
impl<'a> !RefUnwindSafe for StorageApi<'a>
impl<'a> Send for StorageApi<'a>
impl<'a> Sync for StorageApi<'a>
impl<'a> Unpin for StorageApi<'a>
impl<'a> UnsafeUnpin for StorageApi<'a>
impl<'a> !UnwindSafe for StorageApi<'a>
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