pub struct BundleConfig {
pub oci_version: String,
pub process: Process,
pub root: Root,
pub hostname: String,
pub linux: LinuxSection,
}Expand description
Minimal OCI bundle config — what we hand to runsc via config.json.
This intentionally mirrors only the keys our runsc run invocation
reads. We never round-trip back through this struct after generation;
runsc is the authoritative consumer.
Fields§
§oci_version: String§process: Process§root: Root§hostname: String§linux: LinuxSectionTrait Implementations§
Source§impl Clone for BundleConfig
impl Clone for BundleConfig
Source§fn clone(&self) -> BundleConfig
fn clone(&self) -> BundleConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BundleConfig
impl Debug for BundleConfig
Source§impl<'de> Deserialize<'de> for BundleConfig
impl<'de> Deserialize<'de> for BundleConfig
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
Source§impl PartialEq for BundleConfig
impl PartialEq for BundleConfig
Source§fn eq(&self, other: &BundleConfig) -> bool
fn eq(&self, other: &BundleConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BundleConfig
impl Serialize for BundleConfig
impl Eq for BundleConfig
impl StructuralPartialEq for BundleConfig
Auto Trait Implementations§
impl Freeze for BundleConfig
impl RefUnwindSafe for BundleConfig
impl Send for BundleConfig
impl Sync for BundleConfig
impl Unpin for BundleConfig
impl UnsafeUnpin for BundleConfig
impl UnwindSafe for BundleConfig
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