[−][src]Struct rusoto_lightsail::ContactMethod
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]
fn clone(&self) -> ContactMethod
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ContactMethod
[src]
impl Default for ContactMethod
[src]
fn default() -> ContactMethod
[src]
impl<'de> Deserialize<'de> for ContactMethod
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<ContactMethod> for ContactMethod
[src]
fn eq(&self, other: &ContactMethod) -> bool
[src]
fn ne(&self, other: &ContactMethod) -> bool
[src]
impl StructuralPartialEq for ContactMethod
[src]
Auto Trait Implementations
impl RefUnwindSafe for ContactMethod
impl Send for ContactMethod
impl Sync for ContactMethod
impl Unpin for ContactMethod
impl UnwindSafe for ContactMethod
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> Sealed<T> for T where
T: ?Sized,
T: ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,