Skip to main content

FromPulumiValue

Trait FromPulumiValue 

pub trait FromPulumiValue {
    // Required method
    fn from_pulumi_value(value: &PulumiValue) -> Result<Self, Report>
       where Self: Sized;
}

Required Methods§

fn from_pulumi_value(value: &PulumiValue) -> Result<Self, Report>
where Self: Sized,

Implementations on Foreign Types§

§

impl FromPulumiValue for bool

§

fn from_pulumi_value(value: &PulumiValue) -> Result<bool, Report>

§

impl FromPulumiValue for f64

§

fn from_pulumi_value(value: &PulumiValue) -> Result<f64, Report>

§

impl FromPulumiValue for i32

§

fn from_pulumi_value(value: &PulumiValue) -> Result<i32, Report>

§

impl FromPulumiValue for i64

§

fn from_pulumi_value(value: &PulumiValue) -> Result<i64, Report>

§

impl FromPulumiValue for String

§

fn from_pulumi_value(value: &PulumiValue) -> Result<String, Report>

§

impl<T> FromPulumiValue for Option<T>
where T: FromPulumiValue,

§

fn from_pulumi_value(value: &PulumiValue) -> Result<Option<T>, Report>

§

impl<T> FromPulumiValue for Box<T>
where T: FromPulumiValue,

§

fn from_pulumi_value(value: &PulumiValue) -> Result<Box<T>, Report>

§

impl<T> FromPulumiValue for BTreeMap<String, T>
where T: FromPulumiValue,

§

fn from_pulumi_value(value: &PulumiValue) -> Result<BTreeMap<String, T>, Report>

§

impl<T> FromPulumiValue for Vec<T>
where T: FromPulumiValue,

§

fn from_pulumi_value(value: &PulumiValue) -> Result<Vec<T>, Report>

§

impl<T> FromPulumiValue for HashMap<String, T>
where T: FromPulumiValue,

§

fn from_pulumi_value(value: &PulumiValue) -> Result<HashMap<String, T>, Report>

Implementors§

§

impl FromPulumiValue for PulumiValue

Source§

impl<A, B> FromPulumiValue for OneOf2<A, B>

Source§

impl<A, B, C> FromPulumiValue for OneOf3<A, B, C>

Source§

impl<A, B, C, D> FromPulumiValue for OneOf4<A, B, C, D>

§

impl<T> FromPulumiValue for Output<T>
where T: FromPulumiValue + Send + Sync + 'static,