[−][src]Struct cloudflare::endpoints::zone::Zone
A Zone is a domain name along with its subdomains and other identities https://api.cloudflare.com/#zone-properties
Fields
id: String
Zone identifier tag
name: String
The domain name
account: Account
Information about the account the zone belongs to
betas: Option<Vec<String>>
A list of beta features in which the zone is participating
created_on: DateTime<Utc>
When the zone was created
deactivation_reason: Option<String>
Exists only with a deactivated status and indicates the reason the zone is not resolving on the Cloudflare network.
development_mode: u8
The interval (in seconds) from when development mode expires (positive integer) or last expired (negative integer) for the domain. If development mode has never been enabled, this value is 0.
host: Option<HostingPartner>
Hosting partner information, if the zone signed up via a Cloudflare hosting partner
meta: Meta
Metadata about the domain.
modified_on: DateTime<Utc>
When the zone was last modified
name_servers: Vec<String>
Cloudflare-assigned name servers. This is only populated for zones that use Cloudflare DNS
original_dnshost: Option<String>
DNS host at the time of switching to Cloudflare
original_name_servers: Option<Vec<String>>
Original name servers before moving to Cloudflare
original_registrar: Option<String>
Registrar for the domain at the time of switching to Cloudflare
owner: Owner
Information about the owner of the zone
paused: bool
Indicates if the zone is only using Cloudflare DNS services. A true value means the zone will not receive security or performance benefits.
permissions: Vec<String>
Available permissions on the zone for the current user requesting the item
plan: Option<Plan>
A zone plan
plan_pending: Option<Plan>
A zone plan
status: Status
Status of the zone
vanity_name_servers: Vec<String>
An array of domains used for custom name servers. This is only available for Business and Enterprise plans.
zone_type: Type
A full zone implies that DNS is hosted with Cloudflare. A partial zone is typically a partner-hosted zone or a CNAME setup.
Trait Implementations
impl<'a> Endpoint<Zone, (), ()> for ZoneDetails<'a>
[src]
fn method(&self) -> Method
[src]
fn path(&self) -> String
[src]
fn query(&self) -> Option<QueryType>
[src]
fn body(&self) -> Option<BodyType>
[src]
fn url(&self, environment: &Environment) -> Url
[src]
fn content_type(&self) -> String
[src]
impl ApiResult for Zone
[src]
impl Debug for Zone
[src]
impl<'de> Deserialize<'de> for Zone
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for Zone
impl Sync for Zone
impl Unpin for Zone
impl UnwindSafe for Zone
impl RefUnwindSafe for Zone
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,