[][src]Struct rusoto_lightsail::ContactMethod

pub struct ContactMethod {
    pub arn: Option<String>,
    pub contact_endpoint: Option<String>,
    pub created_at: Option<f64>,
    pub location: Option<ResourceLocation>,
    pub name: Option<String>,
    pub protocol: Option<String>,
    pub resource_type: Option<String>,
    pub status: Option<String>,
    pub support_code: Option<String>,
}

Describes a contact method.

A contact method is a way to send you notifications. For more information, see Notifications in Amazon Lightsail.

Fields

arn: Option<String>

The Amazon Resource Name (ARN) of the contact method.

contact_endpoint: Option<String>

The destination of the contact method, such as an email address or a mobile phone number.

created_at: Option<f64>

The timestamp when the contact method was created.

location: Option<ResourceLocation>name: Option<String>

The name of the contact method.

protocol: Option<String>

The protocol of the contact method, such as email or SMS (text messaging).

resource_type: Option<String>

The Lightsail resource type (e.g., ContactMethod).

status: Option<String>

The current status of the contact method.

A contact method has the following possible status:

  • PendingVerification - The contact method has not yet been verified, and the verification has not yet expired.

  • Valid - The contact method has been verified.

  • InValid - An attempt was made to verify the contact method, but the verification has expired.

support_code: Option<String>

The support code. Include this code in your email to support when you have questions about your Lightsail contact method. This code enables our support team to look up your Lightsail information more easily.

Trait Implementations

impl Clone for ContactMethod[src]

impl Debug for ContactMethod[src]

impl Default for ContactMethod[src]

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

impl PartialEq<ContactMethod> for ContactMethod[src]

impl StructuralPartialEq for ContactMethod[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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.