use anchor_lang::prelude::*;
#[derive(Clone, Default, PartialEq, Eq, Debug, AnchorDeserialize, AnchorSerialize)]
pub struct Statistics {
pub execution_count: u64,
pub last_executed_at: i64,
}
impl Statistics {
pub const MIN_SIZE: usize = 8 + 8;
pub fn new() -> Self {
Statistics {
execution_count: 0,
last_executed_at: 0,
}
}
}