pub struct SEIRState {
pub sir: SIRState,
pub exposed: f64,
}Expand description
State of SEIR model.
Fields§
§sir: SIRStateBase SIR state.
exposed: f64Number of exposed individuals.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SEIRState
impl<'de> Deserialize<'de> for SEIRState
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 SEIRState
impl RefUnwindSafe for SEIRState
impl Send for SEIRState
impl Sync for SEIRState
impl Unpin for SEIRState
impl UnsafeUnpin for SEIRState
impl UnwindSafe for SEIRState
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