pub enum TagsAlarmsCommand {
Active {
source: Option<String>,
priority: Option<String>,
state: Option<String>,
project: String,
},
History {
start: String,
end: String,
project: String,
},
Ack {
ids: Vec<String>,
note: Option<String>,
username: String,
project: String,
},
}Expand description
tags alarms … — the alarm subfamily (05-06, TAGS-07). History
needs a JOURNAL-PROVISIONED gateway (database connection +
alarm-journal profile + general-alarm-settings — default rigs
refuse exit 6 with the provisioning hint); acknowledge is the
gateway-scope 3-arg form, so --username is REQUIRED (no
default-guessing) and ack is deliberately NOT --yes-guarded
(acknowledging never un-acknowledges anything — a state-advancing
read-adjacent verb).
Variants§
Active
List active alarms — eventId/source/state/priority/name
Fields
History
Query alarm history — requires a journal-provisioned gateway (default rigs refuse with the provisioning hint naming the missing chain)
Fields
Ack
Acknowledge alarms (explicit –username: the 3-arg wire form needs it). NOT –yes-guarded — acknowledging never un-acknowledges anything
Trait Implementations§
Source§impl Debug for TagsAlarmsCommand
impl Debug for TagsAlarmsCommand
Source§impl FromArgMatches for TagsAlarmsCommand
impl FromArgMatches for TagsAlarmsCommand
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§impl Subcommand for TagsAlarmsCommand
impl Subcommand for TagsAlarmsCommand
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Self can parse a specific subcommand