(&self)
| 588 | |
| 589 | impl<'a, V: OptionType<'a>> ConfigOption<'a, V> { |
| 590 | pub fn build(&self) -> UntypedConfigOption { |
| 591 | UntypedConfigOption { |
| 592 | name: self.name.to_string(), |
| 593 | value_type: V::get_value_type(), |
| 594 | default: <V as OptionType>::convert_default(&self.default), |
| 595 | description: self.description.to_string(), |
| 596 | deprecated: self.deprecated, |
| 597 | dynamic: self.dynamic, |
| 598 | multi: self.multi, |
| 599 | } |
| 600 | } |
| 601 | } |
| 602 | |
| 603 | impl<'a> DefaultStringConfigOption<'a> { |
no test coverage detected