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§

Required Methods§

Object Safety§

This trait is not object safe.

Implementors§