[][src]Trait golem_rpc_api::settings::DynamicSetting

pub trait DynamicSetting {
    fn name(&self) -> &str;
fn description(&self) -> &str;
fn validation_desc(&self) -> &str;
fn parse_from_str(&self, value: &str) -> Result<Value, Error>;
fn display_value(&self, value: &Value) -> Result<String, Error>; }

Required methods

fn name(&self) -> &str

fn description(&self) -> &str

fn validation_desc(&self) -> &str

fn parse_from_str(&self, value: &str) -> Result<Value, Error>

fn display_value(&self, value: &Value) -> Result<String, Error>

Loading content...

Implementors

impl<S: Setting> DynamicSetting for S where
    S::Item: FromStr + Any,
    <S::Item as FromStr>::Err: Display,
    S::Item: Display
[src]

Loading content...