pub struct GetHardwareClusterParams {
pub group_name: Option<String>,
pub settings_hsm_group_name: Option<String>,
}Expand description
Typed parameters for fetching cluster hardware inventory.
Fields§
§group_name: Option<String>Cluster group name to inventory; None falls back to the
operator default.
settings_hsm_group_name: Option<String>Operator default from cli.toml’s hsm_group, used when
group_name is absent.
Implementations§
Source§impl GetHardwareClusterParams
impl GetHardwareClusterParams
Sourcepub fn effective_group(&self) -> Option<&str>
pub fn effective_group(&self) -> Option<&str>
Returns the effective group name, preferring the explicit
positional argument and falling back to the operator default
from cli.toml.
Auto Trait Implementations§
impl Freeze for GetHardwareClusterParams
impl RefUnwindSafe for GetHardwareClusterParams
impl Send for GetHardwareClusterParams
impl Sync for GetHardwareClusterParams
impl Unpin for GetHardwareClusterParams
impl UnwindSafe for GetHardwareClusterParams
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