pub struct NewStorage<'a> {
pub title: &'a str,
pub zone: &'a str,
pub size_gib: u64,
pub tier: &'a str,
pub labels: &'a [Label<'a>],
}Expand description
A new storage.
Fields§
§title: &'a str§zone: &'a str§size_gib: u64§tier: &'a strmaxiops, standard, …
labels: &'a [Label<'a>]Empty sends no labels key at all.
Trait Implementations§
Source§impl<'a> Clone for NewStorage<'a>
impl<'a> Clone for NewStorage<'a>
Source§impl<'a> Debug for NewStorage<'a>
impl<'a> Debug for NewStorage<'a>
impl<'a> Eq for NewStorage<'a>
Source§impl<'a> PartialEq for NewStorage<'a>
impl<'a> PartialEq for NewStorage<'a>
impl<'a> StructuralPartialEq for NewStorage<'a>
Auto Trait Implementations§
impl<'a> Freeze for NewStorage<'a>
impl<'a> RefUnwindSafe for NewStorage<'a>
impl<'a> Send for NewStorage<'a>
impl<'a> Sync for NewStorage<'a>
impl<'a> Unpin for NewStorage<'a>
impl<'a> UnsafeUnpin for NewStorage<'a>
impl<'a> UnwindSafe for NewStorage<'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