Trait cln_plugin::options::OptionType
source · pub trait OptionType<'a> {
type OutputValue;
type DefaultValue;
// Required methods
fn convert_default(value: &Self::DefaultValue) -> Option<Value>;
fn from_value(value: &Option<Value>) -> Self::OutputValue;
fn get_value_type() -> ValueType;
}
Required Associated Types§
type OutputValue
type DefaultValue
Required Methods§
fn convert_default(value: &Self::DefaultValue) -> Option<Value>
fn from_value(value: &Option<Value>) -> Self::OutputValue
fn get_value_type() -> ValueType
Object Safety§
This trait is not object safe.