pub struct ReservedDomain {
    pub id: String,
    pub uri: String,
    pub created_at: String,
    pub description: String,
    pub metadata: String,
    pub domain: String,
    pub region: String,
    pub cname_target: Option<String>,
    pub certificate: Option<Ref>,
    pub certificate_management_policy: Option<ReservedDomainCertPolicy>,
    pub certificate_management_status: Option<ReservedDomainCertStatus>,
    pub acme_challenge_cname_target: Option<String>,
}

Fields

id: String

unique reserved domain resource identifier

uri: String

URI of the reserved domain API resource

created_at: String

timestamp when the reserved domain was created, RFC 3339 format

description: String

human-readable description of what this reserved domain will be used for

metadata: String

arbitrary user-defined machine-readable data of this reserved domain. Optional, max 4096 bytes.

domain: String

hostname of the reserved domain

region: String

reserve the domain in this geographic ngrok datacenter. Optional, default is us. (au, eu, ap, us, jp, in, sa)

cname_target: Option<String>

DNS CNAME target for a custom hostname, or null if the reserved domain is a subdomain of *.ngrok.io

certificate: Option<Ref>

object referencing the TLS certificate used for connections to this domain. This can be either a user-uploaded certificate, the most recently issued automatic one, or null otherwise.

certificate_management_policy: Option<ReservedDomainCertPolicy>

configuration for automatic management of TLS certificates for this domain, or null if automatic management is disabled

certificate_management_status: Option<ReservedDomainCertStatus>

status of the automatic certificate management for this domain, or null if automatic management is disabled

acme_challenge_cname_target: Option<String>

DNS CNAME target for the host _acme-challenge.example.com, where example.com is your reserved domain name. This is required to issue certificates for wildcard, non-ngrok reserved domains. Must be null for non-wildcard domains and ngrok subdomains.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. 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

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

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

Uses borrowed data to replace owned data, usually by cloning. Read more

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.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more