pub struct VolumeCreateOptions<'a> {
pub driver: Option<&'a str>,
pub gid: Option<i64>,
pub ignore_if_exists: Option<bool>,
pub label: Option<HashMap<&'a str, &'a str>>,
pub labels: Option<HashMap<&'a str, &'a str>>,
pub name: Option<&'a str>,
pub options: Option<HashMap<&'a str, &'a str>>,
pub uid: Option<i64>,
}
Fields§
§driver: Option<&'a str>
§gid: Option<i64>
§ignore_if_exists: Option<bool>
§label: Option<HashMap<&'a str, &'a str>>
§labels: Option<HashMap<&'a str, &'a str>>
§name: Option<&'a str>
§options: Option<HashMap<&'a str, &'a str>>
§uid: Option<i64>
Trait Implementations§
Source§impl<'a> Default for VolumeCreateOptions<'a>
impl<'a> Default for VolumeCreateOptions<'a>
Source§fn default() -> VolumeCreateOptions<'a>
fn default() -> VolumeCreateOptions<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for VolumeCreateOptions<'a>
impl<'a> RefUnwindSafe for VolumeCreateOptions<'a>
impl<'a> Send for VolumeCreateOptions<'a>
impl<'a> Sync for VolumeCreateOptions<'a>
impl<'a> Unpin for VolumeCreateOptions<'a>
impl<'a> UnwindSafe for VolumeCreateOptions<'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