pub struct VolumeOptions {
pub driver_config: Option<Driver>,
pub labels: Option<HashMap<String, String>>,
pub no_copy: Option<bool>,
}Fields§
§driver_config: Option<Driver>§labels: Option<HashMap<String, String>>§no_copy: Option<bool>Implementations§
Source§impl VolumeOptions
impl VolumeOptions
pub fn new() -> VolumeOptions
Trait Implementations§
Source§impl Clone for VolumeOptions
impl Clone for VolumeOptions
Source§fn clone(&self) -> VolumeOptions
fn clone(&self) -> VolumeOptions
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 Debug for VolumeOptions
impl Debug for VolumeOptions
Source§impl<'de> Deserialize<'de> for VolumeOptions
impl<'de> Deserialize<'de> for VolumeOptions
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 FromStr for VolumeOptions
Converts Query Parameters representation (style=form, explode=false) to a VolumeOptions value
as specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde deserializer
impl FromStr for VolumeOptions
Converts Query Parameters representation (style=form, explode=false) to a VolumeOptions value as specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde deserializer
Source§impl PartialEq for VolumeOptions
impl PartialEq for VolumeOptions
Source§impl Serialize for VolumeOptions
impl Serialize for VolumeOptions
Source§impl ToString for VolumeOptions
Converts the VolumeOptions value to the Query Parameters representation (style=form, explode=false)
specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde serializer
impl ToString for VolumeOptions
Converts the VolumeOptions value to the Query Parameters representation (style=form, explode=false) specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde serializer
Source§impl Validate for VolumeOptions
impl Validate for VolumeOptions
Source§impl<'v_a> ValidateArgs<'v_a> for VolumeOptions
impl<'v_a> ValidateArgs<'v_a> for VolumeOptions
impl StructuralPartialEq for VolumeOptions
Auto Trait Implementations§
impl Freeze for VolumeOptions
impl RefUnwindSafe for VolumeOptions
impl Send for VolumeOptions
impl Sync for VolumeOptions
impl Unpin for VolumeOptions
impl UnwindSafe for VolumeOptions
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