pub struct CreateContainerOptions {
pub name: Option<String>,
pub platform: String,
}Expand description
Internal struct used in the ContainerCreate API
Use a CreateContainerOptionsBuilder to instantiate this struct.
Fields§
§name: Option<String>§platform: StringTrait Implementations§
Source§impl Clone for CreateContainerOptions
impl Clone for CreateContainerOptions
Source§fn clone(&self) -> CreateContainerOptions
fn clone(&self) -> CreateContainerOptions
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 CreateContainerOptions
impl Debug for CreateContainerOptions
Source§impl Default for CreateContainerOptions
impl Default for CreateContainerOptions
Source§fn default() -> CreateContainerOptions
fn default() -> CreateContainerOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for CreateContainerOptions
impl PartialEq for CreateContainerOptions
Source§impl Serialize for CreateContainerOptions
impl Serialize for CreateContainerOptions
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for CreateContainerOptions
Auto Trait Implementations§
impl Freeze for CreateContainerOptions
impl RefUnwindSafe for CreateContainerOptions
impl Send for CreateContainerOptions
impl Sync for CreateContainerOptions
impl Unpin for CreateContainerOptions
impl UnsafeUnpin for CreateContainerOptions
impl UnwindSafe for CreateContainerOptions
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