pub trait StringValue {
    fn to_string_value(&self) -> String;
    fn from_string_value(&mut self, v: &str);
    fn default_from_string_value(&mut self, v: Option<String>);
    fn default_to_string_value(&self) -> Option<String>;
}

Required Methods

Called when the value needs to be represented as a string

Is called whenever a default value is configured and should be set according to it’s evaluation.

Requests the default value as string representation

Implementors