pub struct RawBootSourceConfig {
pub kernel_image_path: String,
pub initrd_path: Option<String>,
pub boot_args: Option<String>,
}Expand description
Raw /boot-source PUT body, exactly off the wire.
Fields§
§kernel_image_path: StringHost-filesystem path to the kernel image.
initrd_path: Option<String>Host-filesystem path to the initrd, if any.
boot_args: Option<String>Kernel command line. The FDT builder applies the D23 append rules.
Trait Implementations§
Source§impl Clone for RawBootSourceConfig
impl Clone for RawBootSourceConfig
Source§fn clone(&self) -> RawBootSourceConfig
fn clone(&self) -> RawBootSourceConfig
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 RawBootSourceConfig
impl Debug for RawBootSourceConfig
Source§impl<'de> Deserialize<'de> for RawBootSourceConfig
impl<'de> Deserialize<'de> for RawBootSourceConfig
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 RawBootSourceConfig
impl RefUnwindSafe for RawBootSourceConfig
impl Send for RawBootSourceConfig
impl Sync for RawBootSourceConfig
impl Unpin for RawBootSourceConfig
impl UnsafeUnpin for RawBootSourceConfig
impl UnwindSafe for RawBootSourceConfig
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