pub fn opt_reset_to_default(&self, optid: TidyOptionId) -> Result<TidySeverity, TidyError> {
    unsafe {
      match tidyOptResetToDefault(self.tdoc, optid) {
        Bool_yes => Ok(TidySeverity::Success),
        _ => Err(TidyError {
          severity: TidySeverity::Severe,
          message: String::from("Tidy reset to default error"),
        }),
      }
    }
  }
/// Reset option to default value by ID.
///
/// Parameters
/// **opt**	The option ID to reset
/// # Returns
/// Returns a TidySeverity::Success indicating success or TidyError on failure.
Reset option to default value by ID.
Parameters
opt**        The option ID to reset
Reset option to default value by ID . Parameters opt ** The option ID to reset
pub fn opt_reset_to_default(&self, optid: TidyOptionId) -> Result<TidySeverity, TidyError> {
    unsafe {
      match tidyOptResetToDefault(self.tdoc, optid) {
        Bool_yes => Ok(TidySeverity::Success),
        _ => Err(TidyError {
          severity: TidySeverity::Severe,
          message: String::from("Tidy reset to default error"),
        }),
      }
    }
  }
pub fn opt_reset_to_default ( & self , optid : TidyOptionId ) -> Result < TidySeverity , TidyError > { unsafe { match tidyOptResetToDefault ( self . tdoc , optid ) { Bool_yes => Ok ( TidySeverity :: Success ) , _ => Err ( TidyError { severity : TidySeverity :: Severe , message : String :: from ( " " ) , } ) , } } }
Reset option to default value by ID.
Reset option to default value by ID .
Returns a TidySeverity::Success indicating success or TidyError on failure.
Returns a TidySeverity :: Success indicating success or TidyError on failure .
&self
optid
TidyOptionId