Struct dnsimple::dnsimple::services::Service[][src]

pub struct Service {
    pub id: u64,
    pub name: String,
    pub sid: String,
    pub description: String,
    pub setup_description: Option<String>,
    pub requires_setup: bool,
    pub default_subdomain: Option<String>,
    pub created_at: String,
    pub updated_at: String,
    pub settings: Vec<ServiceSetting>,
}
Expand description

Represents a service in DNSimple

Fields

id: u64

The service ID in DNSimple.

name: String

The service name.

sid: String

A string ID for the service.

description: String

The service description.

setup_description: Option<String>

The service setup description.

requires_setup: bool

Whether the service requires extra setup.

default_subdomain: Option<String>

The default subdomain where the service will be applied.

created_at: String

When the service was created in DNSimple

updated_at: String

When the service was last updated in DNSimple

settings: Vec<ServiceSetting>

The array of settings to setup this service, if setup is required.

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.