Enum cfn::ValueMap [] [src]

pub enum ValueMap<T> {
    Values(HashMap<String, Value<T>>),
    Ref(String),
}

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

Variants

Map of values.

Returns the value of the specified parameter or resource.

Methods

impl<T> ValueMap<T>
[src]

[src]

If the map contains values, return Some.

Return None otherwise.

[src]

If the map is a reference, return Some.

Return None otherwise.

Trait Implementations

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

[src]

Formats the value using the given formatter. Read more

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

[src]

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

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

[src]

Serialize this value into the given Serde serializer. Read more

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

[src]

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

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

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