pub struct UpdateBootParametersParams {
pub hosts: Vec<String>,
pub nids: Option<Vec<u32>>,
pub macs: Option<Vec<String>>,
pub params: String,
pub kernel: String,
pub initrd: String,
}Expand description
Typed parameters for updating boot parameters.
Fields§
§hosts: Vec<String>Target node xnames.
nids: Option<Vec<u32>>Node IDs corresponding to hosts (optional alternate identifier).
macs: Option<Vec<String>>MAC addresses corresponding to hosts (optional alternate identifier).
params: StringKernel command-line parameters string.
kernel: StringS3 path to the kernel image.
initrd: StringS3 path to the initrd image.
Trait Implementations§
Source§impl ComposeSchema for UpdateBootParametersParams
impl ComposeSchema for UpdateBootParametersParams
Source§impl<'de> Deserialize<'de> for UpdateBootParametersParams
impl<'de> Deserialize<'de> for UpdateBootParametersParams
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 UpdateBootParametersParams
impl RefUnwindSafe for UpdateBootParametersParams
impl Send for UpdateBootParametersParams
impl Sync for UpdateBootParametersParams
impl Unpin for UpdateBootParametersParams
impl UnsafeUnpin for UpdateBootParametersParams
impl UnwindSafe for UpdateBootParametersParams
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