[][src]Struct rusoto_cloudtrail::Tag

pub struct Tag {
    pub key: String,
    pub value: Option<String>,
}

A custom key-value pair associated with a resource such as a CloudTrail trail.

Fields

key: String

The key in a key-value pair. The key must be must be no longer than 128 Unicode characters. The key must be unique for the resource to which it applies.

value: Option<String>

The value in a key-value pair of a tag. The value must be no longer than 256 Unicode characters.

Trait Implementations

impl Clone for Tag[src]

impl Default for Tag[src]

impl PartialEq<Tag> for Tag[src]

impl Debug for Tag[src]

impl StructuralPartialEq for Tag[src]

impl<'de> Deserialize<'de> for Tag[src]

impl Serialize for Tag[src]

Auto Trait Implementations

impl Send for Tag

impl Sync for Tag

impl Unpin for Tag

impl UnwindSafe for Tag

impl RefUnwindSafe for Tag

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self