pub struct Domain {
pub created_at: Option<DateTime<Utc>>,
pub dns_status: Option<bool>,
pub name: Option<String>,
pub object: Option<String>,
pub project_id: Option<String>,
pub ssl_status: Option<bool>,
pub updated_at: Option<DateTime<Utc>>,
}
Expand description
A Domain is a hostname that you can use to access your project. Each domain belongs to a project.
JSON schema
{
"description": "A Domain is a hostname that you can use to access your project. Each domain belongs to a project.",
"type": "object",
"properties": {
"created_at": {
"description": "Time at which the object was created.",
"readOnly": true,
"type": "string",
"format": "date-time"
},
"dns_status": {
"description": "The DNS status of the domain.",
"readOnly": true,
"type": "boolean"
},
"name": {
"description": "The domain name.",
"type": "string"
},
"object": {
"description": "String representing the object's type. Objects of the same type share the same value",
"readOnly": true,
"examples": [
"domain"
],
"type": "string"
},
"project_id": {
"description": "The Project ID.",
"type": "string"
},
"ssl_status": {
"description": "The SSL status of the domain.",
"readOnly": true,
"type": "boolean"
},
"updated_at": {
"description": "Time at which the object was last updated.",
"readOnly": true,
"type": "string",
"format": "date-time"
}
}
}
Fields§
§created_at: Option<DateTime<Utc>>
Time at which the object was created.
dns_status: Option<bool>
The DNS status of the domain.
name: Option<String>
The domain name.
object: Option<String>
String representing the object’s type. Objects of the same type share the same value
project_id: Option<String>
The Project ID.
ssl_status: Option<bool>
The SSL status of the domain.
updated_at: Option<DateTime<Utc>>
Time at which the object was last updated.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Domain
impl<'de> Deserialize<'de> for Domain
Source§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
Source§impl JsonSchema for Domain
impl JsonSchema for Domain
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moreAuto Trait Implementations§
impl Freeze for Domain
impl RefUnwindSafe for Domain
impl Send for Domain
impl Sync for Domain
impl Unpin for Domain
impl UnwindSafe for Domain
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more