pub struct ConfigSchemaBuilder { /* private fields */ }
Expand description
Builder for ConfigSchema
.
Implementations§
Source§impl ConfigSchemaBuilder
impl ConfigSchemaBuilder
pub fn annotations<VALUE: Into<Option<HashMap<String, Option<Value>>>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn hooks<VALUE: Into<Option<Hooks>>>(&mut self, value: VALUE) -> &mut Self
pub fn hostname<VALUE: Into<Option<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn linux<VALUE: Into<Option<Linux>>>(&mut self, value: VALUE) -> &mut Self
pub fn mounts<VALUE: Into<Option<Vec<Mount>>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn oci_version<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn process<VALUE: Into<Option<Process>>>( &mut self, value: VALUE, ) -> &mut Self
Sourcepub fn root<VALUE: Into<Option<Root>>>(&mut self, value: VALUE) -> &mut Self
pub fn root<VALUE: Into<Option<Root>>>(&mut self, value: VALUE) -> &mut Self
Configures the container’s root filesystem.
pub fn solaris<VALUE: Into<Option<Solaris>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn vm<VALUE: Into<Option<Vm>>>(&mut self, value: VALUE) -> &mut Self
pub fn windows<VALUE: Into<Option<Windows>>>( &mut self, value: VALUE, ) -> &mut Self
Trait Implementations§
Source§impl Clone for ConfigSchemaBuilder
impl Clone for ConfigSchemaBuilder
Source§fn clone(&self) -> ConfigSchemaBuilder
fn clone(&self) -> ConfigSchemaBuilder
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 Default for ConfigSchemaBuilder
impl Default for ConfigSchemaBuilder
Source§fn default() -> ConfigSchemaBuilder
fn default() -> ConfigSchemaBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ConfigSchemaBuilder
impl RefUnwindSafe for ConfigSchemaBuilder
impl Send for ConfigSchemaBuilder
impl Sync for ConfigSchemaBuilder
impl Unpin for ConfigSchemaBuilder
impl UnwindSafe for ConfigSchemaBuilder
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