pub struct RulepackServiceState {
pub config: RulepackServiceConfig,
pub rulepacks: HashMap<String, RulepackConfig>,
pub stats: SimulatorStats,
pub started_at: Instant,
pub ready: bool,
}Expand description
Internal state for Rulepack Service Simulator
Fields§
§config: RulepackServiceConfig§rulepacks: HashMap<String, RulepackConfig>§stats: SimulatorStats§started_at: Instant§ready: boolImplementations§
Source§impl RulepackServiceState
impl RulepackServiceState
pub fn new(config: RulepackServiceConfig) -> Self
Auto Trait Implementations§
impl Freeze for RulepackServiceState
impl RefUnwindSafe for RulepackServiceState
impl Send for RulepackServiceState
impl Sync for RulepackServiceState
impl Unpin for RulepackServiceState
impl UnsafeUnpin for RulepackServiceState
impl UnwindSafe for RulepackServiceState
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