rustack-cloudfront-model 0.9.0

CloudFront type model for Rustack
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Tag types.

use serde::{Deserialize, Serialize};

/// An AWS resource tag (key/value pair).
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
pub struct Tag {
    /// Tag key (required).
    pub key: String,
    /// Tag value (may be empty).
    pub value: String,
}

/// Ordered collection of tags with unique keys.
pub type TagSet = Vec<Tag>;