pub struct InitConfig {
pub cmd: Option<Vec<String>>,
pub entrypoint: Option<Vec<String>>,
pub exec: Option<Vec<String>>,
pub kernel_args: Option<Vec<String>>,
pub swap_size_mb: Option<u64>,
pub tty: Option<bool>,
}Fields§
§cmd: Option<Vec<String>>§entrypoint: Option<Vec<String>>§exec: Option<Vec<String>>§kernel_args: Option<Vec<String>>§swap_size_mb: Option<u64>§tty: Option<bool>Trait Implementations§
Source§impl Debug for InitConfig
impl Debug for InitConfig
Source§impl<'de> Deserialize<'de> for InitConfig
impl<'de> Deserialize<'de> for InitConfig
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
Auto Trait Implementations§
impl Freeze for InitConfig
impl RefUnwindSafe for InitConfig
impl Send for InitConfig
impl Sync for InitConfig
impl Unpin for InitConfig
impl UnwindSafe for InitConfig
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