pub level

This commit is contained in:
Aravinth Manivannan 2021-03-12 20:39:44 +05:30
parent 95f1272e11
commit f401124d9f
Signed by: realaravinth
GPG key ID: AD9F0F08E855ED88

View file

@ -48,8 +48,8 @@ use serde::{Deserialize, Serialize};
/// Level struct that describes threshold-difficulty factor mapping
#[derive(Debug, Deserialize, Serialize, Copy, Clone, PartialEq)]
pub struct Level {
visitor_threshold: u32,
difficulty_factor: u32,
pub visitor_threshold: u32,
pub difficulty_factor: u32,
}
/// Bulder struct for [Level] to describe threshold-difficulty factor mapping