umya-spreadsheet 2.3.3

umya-spreadsheet is a library written in pure Rust to read and write xlsx file.
Documentation
use super::super::super::EnumTrait;
use std::str::FromStr;
#[derive(Clone, Debug)]
pub enum RadarStyleValues {
    Filled,
    Marker,
    Standard,
}
impl Default for RadarStyleValues {
    fn default() -> Self {
        Self::Standard
    }
}
impl EnumTrait for RadarStyleValues {
    fn get_value_string(&self) -> &str {
        match &self {
            Self::Filled => "filled",
            Self::Marker => "marker",
            Self::Standard => "standard",
        }
    }
}
impl FromStr for RadarStyleValues {
    type Err = ();
    fn from_str(input: &str) -> Result<Self, Self::Err> {
        match input {
            "filled" => Ok(Self::Filled),
            "marker" => Ok(Self::Marker),
            "standard" => Ok(Self::Standard),
            _ => Err(()),
        }
    }
}