pub struct RootfsRequest {
pub rootfs_ref: RootfsRef,
pub read_only: bool,
pub writable_layer_ref: Option<String>,
}Expand description
Describes the rootfs request portion of a runtime package snapshot. Use it when package authors or tests need explicit package configuration; validation and activation happen in package/runtime coordinators.
Fields§
§rootfs_ref: RootfsRefTyped rootfs ref reference. Resolving or executing it is a separate policy-gated step.
read_only: boolWhether read only is enabled. Policy, validation, or routing code uses this flag to choose the explicit behavior.
writable_layer_ref: Option<String>Typed writable layer ref reference. Resolving or executing it is a separate policy-gated step.
Trait Implementations§
Source§impl Clone for RootfsRequest
impl Clone for RootfsRequest
Source§fn clone(&self) -> RootfsRequest
fn clone(&self) -> RootfsRequest
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 RootfsRequest
impl Debug for RootfsRequest
Source§impl<'de> Deserialize<'de> for RootfsRequest
impl<'de> Deserialize<'de> for RootfsRequest
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 Eq for RootfsRequest
Source§impl PartialEq for RootfsRequest
impl PartialEq for RootfsRequest
Source§fn eq(&self, other: &RootfsRequest) -> bool
fn eq(&self, other: &RootfsRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RootfsRequest
impl Serialize for RootfsRequest
impl StructuralPartialEq for RootfsRequest
Auto Trait Implementations§
impl Freeze for RootfsRequest
impl RefUnwindSafe for RootfsRequest
impl Send for RootfsRequest
impl Sync for RootfsRequest
impl Unpin for RootfsRequest
impl UnsafeUnpin for RootfsRequest
impl UnwindSafe for RootfsRequest
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