pub struct ZoneResponse {Show 13 fields
pub cache_hit: Option<bool>,
pub cache_ttl: Option<i64>,
pub created_at: Option<DateTime<Utc>>,
pub deleted_at: Option<DateTime<Utc>>,
pub external_id: Option<String>,
pub hard_delete_at: Option<DateTime<Utc>>,
pub id: String,
pub integration_id: String,
pub metadata: Option<HashMap>,
pub name: LocalizedString,
pub parent_zone_id: Option<String>,
pub purge_at: Option<DateTime<Utc>>,
pub updated_at: Option<DateTime<Utc>>,
}Expand description
ZoneResponse
JSON schema
{
"allOf": [
{
"$ref": "#/components/schemas/Zone"
},
{
"oneOf": [
{
"type": "null"
},
{
"oneOf": [
{
"$ref": "#/components/schemas/StorageFeatures"
}
]
}
]
}
]
}Fields§
§cache_hit: Option<bool>§cache_ttl: Option<i64>§created_at: Option<DateTime<Utc>>§deleted_at: Option<DateTime<Utc>>§external_id: Option<String>External ID from the integration.
hard_delete_at: Option<DateTime<Utc>>§id: StringUnique identifier (ULID).
integration_id: StringIntegration this zone belongs to.
metadata: Option<HashMap>§name: LocalizedString§parent_zone_id: Option<String>Parent zone for hierarchy.
purge_at: Option<DateTime<Utc>>§updated_at: Option<DateTime<Utc>>Trait Implementations§
Source§impl Clone for ZoneResponse
impl Clone for ZoneResponse
Source§fn clone(&self) -> ZoneResponse
fn clone(&self) -> ZoneResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ZoneResponse
impl Debug for ZoneResponse
Source§impl<'de> Deserialize<'de> for ZoneResponse
impl<'de> Deserialize<'de> for ZoneResponse
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
Auto Trait Implementations§
impl Freeze for ZoneResponse
impl RefUnwindSafe for ZoneResponse
impl Send for ZoneResponse
impl Sync for ZoneResponse
impl Unpin for ZoneResponse
impl UnsafeUnpin for ZoneResponse
impl UnwindSafe for ZoneResponse
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