pub struct Kernel {
pub initrd: Option<String>,
pub parameters: Option<Vec<String>>,
pub path: String,
}
Expand description
kernel config used by VM-based containers
Fields§
§initrd: Option<String>
§parameters: Option<Vec<String>>
§path: String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Kernel
impl<'de> Deserialize<'de> for Kernel
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
impl StructuralPartialEq for Kernel
Auto Trait Implementations§
impl Freeze for Kernel
impl RefUnwindSafe for Kernel
impl Send for Kernel
impl Sync for Kernel
impl Unpin for Kernel
impl UnwindSafe for Kernel
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