pub struct GetKernelParametersParams {
pub group_name: Option<String>,
pub nodes: Option<String>,
pub settings_group_name: Option<String>,
}Expand description
Typed parameters for fetching kernel boot parameters.
Precedence: nodes > group_name > settings_group_name.
At least one must resolve to a non-empty value.
Fields§
§group_name: Option<String>Group whose members’ kernel parameters should be returned.
nodes: Option<String>Explicit comma-separated xnames; mutually exclusive with
group_name.
settings_group_name: Option<String>Operator default from cli.toml’s parent_group_group, used
when neither group_name nor nodes is supplied.
Implementations§
Source§impl GetKernelParametersParams
impl GetKernelParametersParams
Sourcepub fn effective_group(&self) -> Option<&str>
pub fn effective_group(&self) -> Option<&str>
Returns the effective group name, preferring the explicit
--group flag and falling back to the operator default from
cli.toml.
Auto Trait Implementations§
impl Freeze for GetKernelParametersParams
impl RefUnwindSafe for GetKernelParametersParams
impl Send for GetKernelParametersParams
impl Sync for GetKernelParametersParams
impl Unpin for GetKernelParametersParams
impl UnwindSafe for GetKernelParametersParams
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