Struct pulumi_wasm_rust::Output

source ·
pub struct Output<T> { /* private fields */ }

Implementations§

source§

impl<T> Output<T>

source

pub fn map<B, F>(&self, f: F) -> Output<B>
where F: Fn(T) -> B + Send + 'static, T: DeserializeOwned + Debug, B: Serialize + Debug,

source

pub unsafe fn transmute<F: Serialize>(&self) -> Output<F>

Forcefully changes apparent type of underlying Output Can be used to workaround Pulumi provider incorrect types

§Safety

Underlying output must be of type F.

source§

impl<T: Serialize> Output<T>

source

pub fn new(value: &T) -> Self

source

pub fn empty() -> Output<Option<T>>

Returns singleton Output containing serialized null

§

impl<A: Serialize, B: Serialize> Output<(A, B)>

pub fn combine2(a: Output<A>, b: Output<B>) -> Self

§

impl<A: Serialize, B: Serialize, C: Serialize> Output<(A, B, C)>

pub fn combine3(a: Output<A>, b: Output<B>, c: Output<C>) -> Self

§

impl<A: Serialize, B: Serialize, C: Serialize, D: Serialize> Output<(A, B, C, D)>

pub fn combine4(a: Output<A>, b: Output<B>, c: Output<C>, d: Output<D>) -> Self

§

impl<A: Serialize, B: Serialize, C: Serialize, D: Serialize, E: Serialize> Output<(A, B, C, D, E)>

pub fn combine5( a: Output<A>, b: Output<B>, c: Output<C>, d: Output<D>, e: Output<E>, ) -> Self

§

impl<A: Serialize, B: Serialize, C: Serialize, D: Serialize, E: Serialize, F: Serialize> Output<(A, B, C, D, E, F)>

pub fn combine6( a: Output<A>, b: Output<B>, c: Output<C>, d: Output<D>, e: Output<E>, f: Output<F>, ) -> Self

§

impl<A: Serialize, B: Serialize, C: Serialize, D: Serialize, E: Serialize, F: Serialize, G: Serialize> Output<(A, B, C, D, E, F, G)>

pub fn combine7( a: Output<A>, b: Output<B>, c: Output<C>, d: Output<D>, e: Output<E>, f: Output<F>, g: Output<G>, ) -> Self

§

impl<A: Serialize, B: Serialize, C: Serialize, D: Serialize, E: Serialize, F: Serialize, G: Serialize, H: Serialize> Output<(A, B, C, D, E, F, G, H)>

pub fn combine8( a: Output<A>, b: Output<B>, c: Output<C>, d: Output<D>, e: Output<E>, f: Output<F>, g: Output<G>, h: Output<H>, ) -> Self

§

impl<A: Serialize, B: Serialize, C: Serialize, D: Serialize, E: Serialize, F: Serialize, G: Serialize, H: Serialize, I: Serialize> Output<(A, B, C, D, E, F, G, H, I)>

pub fn combine9( a: Output<A>, b: Output<B>, c: Output<C>, d: Output<D>, e: Output<E>, f: Output<F>, g: Output<G>, h: Output<H>, i: Output<I>, ) -> Self

§

impl<A: Serialize, B: Serialize, C: Serialize, D: Serialize, E: Serialize, F: Serialize, G: Serialize, H: Serialize, I: Serialize, J: Serialize> Output<(A, B, C, D, E, F, G, H, I, J)>

pub fn combine10( a: Output<A>, b: Output<B>, c: Output<C>, d: Output<D>, e: Output<E>, f: Output<F>, g: Output<G>, h: Output<H>, i: Output<I>, j: Output<J>, ) -> Self

§

impl<A: Serialize, B: Serialize, C: Serialize, D: Serialize, E: Serialize, F: Serialize, G: Serialize, H: Serialize, I: Serialize, J: Serialize, K: Serialize> Output<(A, B, C, D, E, F, G, H, I, J, K)>

pub fn combine11( a: Output<A>, b: Output<B>, c: Output<C>, d: Output<D>, e: Output<E>, f: Output<F>, g: Output<G>, h: Output<H>, i: Output<I>, j: Output<J>, k: Output<K>, ) -> Self

§

impl<A: Serialize, B: Serialize, C: Serialize, D: Serialize, E: Serialize, F: Serialize, G: Serialize, H: Serialize, I: Serialize, J: Serialize, K: Serialize, L: Serialize> Output<(A, B, C, D, E, F, G, H, I, J, K, L)>

pub fn combine12( a: Output<A>, b: Output<B>, c: Output<C>, d: Output<D>, e: Output<E>, f: Output<F>, g: Output<G>, h: Output<H>, i: Output<I>, j: Output<J>, k: Output<K>, l: Output<L>, ) -> Self

§

impl<A: Serialize, B: Serialize, C: Serialize, D: Serialize, E: Serialize, F: Serialize, G: Serialize, H: Serialize, I: Serialize, J: Serialize, K: Serialize, L: Serialize, M: Serialize> Output<(A, B, C, D, E, F, G, H, I, J, K, L, M)>

pub fn combine13( a: Output<A>, b: Output<B>, c: Output<C>, d: Output<D>, e: Output<E>, f: Output<F>, g: Output<G>, h: Output<H>, i: Output<I>, j: Output<J>, k: Output<K>, l: Output<L>, m: Output<M>, ) -> Self

§

impl<A: Serialize, B: Serialize, C: Serialize, D: Serialize, E: Serialize, F: Serialize, G: Serialize, H: Serialize, I: Serialize, J: Serialize, K: Serialize, L: Serialize, M: Serialize, N: Serialize> Output<(A, B, C, D, E, F, G, H, I, J, K, L, M, N)>

pub fn combine14( a: Output<A>, b: Output<B>, c: Output<C>, d: Output<D>, e: Output<E>, f: Output<F>, g: Output<G>, h: Output<H>, i: Output<I>, j: Output<J>, k: Output<K>, l: Output<L>, m: Output<M>, n: Output<N>, ) -> Self

§

impl<A: Serialize, B: Serialize, C: Serialize, D: Serialize, E: Serialize, F: Serialize, G: Serialize, H: Serialize, I: Serialize, J: Serialize, K: Serialize, L: Serialize, M: Serialize, N: Serialize, O: Serialize> Output<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O)>

pub fn combine15( a: Output<A>, b: Output<B>, c: Output<C>, d: Output<D>, e: Output<E>, f: Output<F>, g: Output<G>, h: Output<H>, i: Output<I>, j: Output<J>, k: Output<K>, l: Output<L>, m: Output<M>, n: Output<N>, o: Output<O>, ) -> Self

§

impl<A: Serialize, B: Serialize, C: Serialize, D: Serialize, E: Serialize, F: Serialize, G: Serialize, H: Serialize, I: Serialize, J: Serialize, K: Serialize, L: Serialize, M: Serialize, N: Serialize, O: Serialize, P: Serialize> Output<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)>

pub fn combine16( a: Output<A>, b: Output<B>, c: Output<C>, d: Output<D>, e: Output<E>, f: Output<F>, g: Output<G>, h: Output<H>, i: Output<I>, j: Output<J>, k: Output<K>, l: Output<L>, m: Output<M>, n: Output<N>, o: Output<O>, p: Output<P>, ) -> Self

Trait Implementations§

source§

impl<T> Clone for Output<T>

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl From<&str> for Output<Option<String>>

source§

fn from(value: &str) -> Self

Converts to this type from the input type.
source§

impl From<&str> for Output<String>

source§

fn from(value: &str) -> Self

Converts to this type from the input type.
source§

impl<const N: usize> From<[&str; N]> for Output<Option<Vec<String>>>

source§

fn from(value: [&str; N]) -> Self

Converts to this type from the input type.
source§

impl<const N: usize> From<[&str; N]> for Output<Vec<String>>

source§

fn from(value: [&str; N]) -> Self

Converts to this type from the input type.
source§

impl<T, const N: usize> From<[T; N]> for Output<Option<Vec<T>>>
where T: Serialize,

source§

fn from(value: [T; N]) -> Self

Converts to this type from the input type.
source§

impl<T, const N: usize> From<[T; N]> for Output<Vec<T>>
where T: Serialize,

source§

fn from(value: [T; N]) -> Self

Converts to this type from the input type.
source§

impl<T: Serialize> From<T> for Output<Option<T>>

source§

fn from(value: T) -> Self

Converts to this type from the input type.
source§

impl<T: Serialize> From<T> for Output<T>

source§

fn from(value: T) -> Output<T>

Converts to this type from the input type.
source§

impl From<Vec<&str>> for Output<Option<Vec<String>>>

source§

fn from(value: Vec<&str>) -> Self

Converts to this type from the input type.
source§

impl From<Vec<&str>> for Output<Vec<String>>

source§

fn from(value: Vec<&str>) -> Self

Converts to this type from the input type.
source§

impl<T> Copy for Output<T>

Auto Trait Implementations§

§

impl<T> Freeze for Output<T>

§

impl<T> RefUnwindSafe for Output<T>
where T: RefUnwindSafe,

§

impl<T> Send for Output<T>
where T: Send,

§

impl<T> Sync for Output<T>
where T: Sync,

§

impl<T> Unpin for Output<T>
where T: Unpin,

§

impl<T> UnwindSafe for Output<T>
where T: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Copy,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.