pub struct LxcConfig {
pub digest: Option<String>,
pub description: Option<String>,
pub hostname: Option<String>,
pub cores: Option<u64>,
pub memory: Option<u64>,
pub swap: Option<u64>,
pub rootfs: Option<String>,
pub unprivileged: Option<bool>,
pub net0: Option<String>,
pub extra: Map<String, Value>,
}Fields§
§digest: Option<String>§description: Option<String>§hostname: Option<String>§cores: Option<u64>§memory: Option<u64>§swap: Option<u64>§rootfs: Option<String>§unprivileged: Option<bool>§net0: Option<String>§extra: Map<String, Value>Trait Implementations§
Source§impl<'de> Deserialize<'de> for LxcConfig
impl<'de> Deserialize<'de> for LxcConfig
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 LxcConfig
Auto Trait Implementations§
impl Freeze for LxcConfig
impl RefUnwindSafe for LxcConfig
impl Send for LxcConfig
impl Sync for LxcConfig
impl Unpin for LxcConfig
impl UnsafeUnpin for LxcConfig
impl UnwindSafe for LxcConfig
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