[][src]Struct rusoto_lightsail::DomainEntry

pub struct DomainEntry {
    pub id: Option<String>,
    pub is_alias: Option<bool>,
    pub name: Option<String>,
    pub target: Option<String>,
    pub type_: Option<String>,
}

Describes a domain recordset entry.

Fields

id: Option<String>

The ID of the domain recordset entry.

is_alias: Option<bool>

When true, specifies whether the domain entry is an alias used by the Lightsail load balancer. You can include an alias (A type) record in your request, which points to a load balancer DNS name and routes traffic to your load balancer.

name: Option<String>

The name of the domain.

target: Option<String>

The target AWS name server (e.g., ns-111.awsdns-22.com.).

For Lightsail load balancers, the value looks like ab1234c56789c6b86aba6fb203d443bc-123456789.us-east-2.elb.amazonaws.com. Be sure to also set isAlias to true when setting up an A record for a load balancer.

type_: Option<String>

The type of domain entry, such as address (A), canonical name (CNAME), mail exchanger (MX), name server (NS), start of authority (SOA), service locator (SRV), or text (TXT).

The following domain entry types can be used:

  • A

  • CNAME

  • MX

  • NS

  • SOA

  • SRV

  • TXT

Trait Implementations

impl Clone for DomainEntry[src]

impl Debug for DomainEntry[src]

impl Default for DomainEntry[src]

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

impl PartialEq<DomainEntry> for DomainEntry[src]

impl Serialize for DomainEntry[src]

impl StructuralPartialEq for DomainEntry[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.