[][src]Trait mcai_worker_sdk::parameter::ParameterValue

pub trait ParameterValue {
    fn get_type_as_string() -> String;

    fn parse_value(content: Value, store: &Option<String>) -> Result<Self>
    where
        Self: Sized + DeserializeOwned
, { ... }
fn from_store(key: &str, store_code: &str) -> Result<Value> { ... }
fn from_value(content: Value) -> Result<Self>
    where
        Self: Sized + DeserializeOwned
, { ... } }

Required methods

Loading content...

Provided methods

fn parse_value(content: Value, store: &Option<String>) -> Result<Self> where
    Self: Sized + DeserializeOwned

fn from_store(key: &str, store_code: &str) -> Result<Value>

fn from_value(content: Value) -> Result<Self> where
    Self: Sized + DeserializeOwned

Loading content...

Implementations on Foreign Types

impl ParameterValue for String[src]

impl ParameterValue for i64[src]

impl ParameterValue for f64[src]

impl ParameterValue for bool[src]

impl ParameterValue for Vec<String>[src]

impl ParameterValue for Vec<MediaSegment>[src]

Loading content...

Implementors

impl ParameterValue for Credential[src]

impl ParameterValue for Requirement[src]

Loading content...