[][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:

Trait Implementations

impl PartialEq<DomainEntry> for DomainEntry[src]

impl Default for DomainEntry[src]

impl Clone for DomainEntry[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for DomainEntry[src]

impl Serialize for DomainEntry[src]

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

Auto Trait Implementations

impl Send for DomainEntry

impl Sync for DomainEntry

Blanket Implementations

impl<T> From for T[src]

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

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

type Owned = T

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self