pub enum ModelType {
Xinanjiang,
Topmodel,
Swat,
Apicont,
}Expand description
Identifier for the four distributed hydrology models orchestrated by the platform crate.
Used as a machine-friendly tag in scenario configs and parameter
overrides; for the human-readable label, see ModelType::name or
HydroModel::name.
Variants§
Xinanjiang
Xinanjiang model (三水源, saturation-excess + unit-hydrograph routing).
Topmodel
TOPMODEL (Beven & Kirkby 1979, saturation-excess, TWI-based).
Swat
SWAT+ LTE (USDA-ARS, daily, hydrology-only subset).
Apicont
API-CONT (antecedent precipitation index continuous baseline).
Implementations§
Trait Implementations§
impl Copy for ModelType
Source§impl<'de> Deserialize<'de> for ModelType
impl<'de> Deserialize<'de> for ModelType
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ModelType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ModelType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ModelType
Source§impl Serialize for ModelType
impl Serialize for ModelType
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ModelType
Auto Trait Implementations§
impl Freeze for ModelType
impl RefUnwindSafe for ModelType
impl Send for ModelType
impl Sync for ModelType
impl Unpin for ModelType
impl UnsafeUnpin for ModelType
impl UnwindSafe for ModelType
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