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<'de> Deserialize<'de> for UpdateBootParametersParams
impl<'de> Deserialize<'de> for UpdateBootParametersParams
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<UpdateBootParametersParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<UpdateBootParametersParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for UpdateBootParametersParams
impl Serialize for UpdateBootParametersParams
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. 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 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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.