pub struct ProjectsDomain {
pub created_at: Option<i32>,
pub detail: Option<String>,
pub host: Option<String>,
pub records: Option<Vec<Record>>,
pub status: Option<String>,
pub url: Option<String>,
pub verified: Option<bool>,
}Fields§
§created_at: Option<i32>CreatedAt is when the host was claimed, as Unix seconds — not when it went live.
detail: Option<String>Detail is what is holding the claim up, in words a person can act on.
host: Option<String>Host is the custom hostname claimed for this site.
records: Option<Vec<Record>>Records are EXACTLY the DNS records to publish to prove ownership and route the host. Present only while pending, because a live host has already proved it; absent is therefore "nothing left to do", not "we cannot say what to do".
status: Option<String>Status is live when the edge answers for this host now, pending while the claim is waiting on DNS proof of ownership. A pending host is claimed but serves nothing.
url: Option<String>URL is where the host will serve once it is live — present on a pending claim too, so a console can show the destination before it works.
verified: Option<bool>Verified is the same fact as a boolean, for a caller that only needs the yes or no. It cannot disagree with status.
Implementations§
Source§impl ProjectsDomain
impl ProjectsDomain
pub fn new() -> ProjectsDomain
Trait Implementations§
Source§impl Clone for ProjectsDomain
impl Clone for ProjectsDomain
Source§fn clone(&self) -> ProjectsDomain
fn clone(&self) -> ProjectsDomain
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more