ghost-eye/src/types/log.rs
Uncle Stretch 13295288ce
ability to bond as nominator from wallet tab
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2025-03-01 15:44:27 +03:00

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,
}