Struct cfn::ValueList [] [src]

pub struct ValueList<T>(_);

Like Value, except it is used in place of lists of Values in templates.

For example, if you have a parameter called SubnetIds of type List<AWS::EC2::Subnet::Id> then, you can use ValueList::reference("SubnetIds") to reference it.

Methods

impl<T> ValueList<T>
[src]

[src]

Create a new value list.

[src]

Create a new value list backed by a reference.

[src]

If the list contains values, return Some.

Return None otherwise.

[src]

If the list is a reference, return Some.

Return None otherwise.

Trait Implementations

impl<T: Debug> Debug for ValueList<T>
[src]

[src]

Formats the value using the given formatter. Read more

impl<T> Default for ValueList<T>
[src]

[src]

Returns the "default value" for a type. Read more

impl<T> FromIterator<Value<T>> for ValueList<T>
[src]

[src]

Creates a value from an iterator. Read more

impl<T: SerializeValue> Serialize for ValueList<T>
[src]

[src]

Serialize this value into the given Serde serializer. Read more

impl<'de, T: DeserializeValue> Deserialize<'de> for ValueList<T>
[src]

[src]

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

impl<T> Send for ValueList<T> where
    T: Send

impl<T> Sync for ValueList<T> where
    T: Sync