This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
impl Form { | |
/// Converts legacy `__form__0` to `0`. | |
pub fn get_id(&self) -> Result<i32, std::num::ParseIntError> { | |
parse_form_opid(self.opid.as_str()) | |
} | |
} | |
impl Field { | |
/// Taking the old school `"__0"` and turning it into `0` |