19 lines
390 B
Rust
19 lines
390 B
Rust
use serde::{Deserialize, Serialize};
|
|
use strum::Display;
|
|
|
|
#[derive(Default, Debug, Clone, PartialEq, Eq, Display, Serialize, Deserialize)]
|
|
pub enum ActionLevel {
|
|
#[default]
|
|
Info,
|
|
Warn,
|
|
Error,
|
|
}
|
|
|
|
#[derive(Default, Debug, Clone, Copy, PartialEq, Eq, Display, Serialize, Deserialize)]
|
|
pub enum ActionTarget {
|
|
#[default]
|
|
WalletLog,
|
|
ValidatorLog,
|
|
NominatorLog,
|
|
}
|