pub struct GetClusterParams {
pub group_name: Option<String>,
pub settings_group_name: Option<String>,
pub status_filter: Option<String>,
}Expand description
Typed parameters for fetching cluster node details.
Fields§
§group_name: Option<String>Cluster group name to query; falls back to
settings_group_name when absent.
settings_group_name: Option<String>Operator default from cli.toml’s hsm_group.
status_filter: Option<String>Optional power-status filter (e.g. OFF, ON, READY,
STANDBY, PENDING, FAILED, CONFIGURED); returns all nodes
when absent.
Implementations§
Source§impl GetClusterParams
impl GetClusterParams
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 GetClusterParams
impl RefUnwindSafe for GetClusterParams
impl Send for GetClusterParams
impl Sync for GetClusterParams
impl Unpin for GetClusterParams
impl UnwindSafe for GetClusterParams
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