pub struct GetGroupParams {
pub group_name: Option<String>,
pub settings_group_name: Option<String>,
}Expand description
Typed parameters for fetching HSM groups.
Fields§
§group_name: Option<String>Exact group name to fetch; returns all groups when None.
settings_group_name: Option<String>Operator default from ~/.config/manta/cli.toml’s
group_name; used to scope results when group_name is
absent but a configured default exists.
Implementations§
Source§impl GetGroupParams
impl GetGroupParams
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.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GetGroupParams
impl RefUnwindSafe for GetGroupParams
impl Send for GetGroupParams
impl Sync for GetGroupParams
impl Unpin for GetGroupParams
impl UnwindSafe for GetGroupParams
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