pub struct HoneypotState {
pub config: HoneypotConfig,
pub total_requests: u64,
pub total_attacks_detected: u64,
pub unique_attackers: usize,
pub attack_events: Vec<AttackEvent>,
pub attacker_profiles: HashMap<String, AttackerProfile>,
pub uptime_seconds: f64,
pub requests_per_minute: f64,
}Available on crate feature
react-honeypot only.Expand description
The complete honeypot state.
Fields§
§config: HoneypotConfig§total_requests: u64§total_attacks_detected: u64§unique_attackers: usize§attack_events: Vec<AttackEvent>§attacker_profiles: HashMap<String, AttackerProfile>§uptime_seconds: f64§requests_per_minute: f64Trait Implementations§
Source§impl Clone for HoneypotState
impl Clone for HoneypotState
Source§fn clone(&self) -> HoneypotState
fn clone(&self) -> HoneypotState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HoneypotState
impl Debug for HoneypotState
Source§impl<'de> Deserialize<'de> for HoneypotState
impl<'de> Deserialize<'de> for HoneypotState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for HoneypotState
impl RefUnwindSafe for HoneypotState
impl Send for HoneypotState
impl Sync for HoneypotState
impl Unpin for HoneypotState
impl UnsafeUnpin for HoneypotState
impl UnwindSafe for HoneypotState
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