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
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more