Struct fastly_api::models::resource_response::ResourceResponse
source · pub struct ResourceResponse {
pub created_at: Option<String>,
pub deleted_at: Option<String>,
pub updated_at: Option<String>,
pub name: Option<String>,
pub resource_id: Option<String>,
pub id: Option<String>,
pub href: Option<String>,
pub service_id: Option<String>,
pub version: Option<i32>,
pub resource_type: Option<TypeResource>,
}
Fields§
§created_at: Option<String>
Date and time in ISO 8601 format.
deleted_at: Option<String>
Date and time in ISO 8601 format.
updated_at: Option<String>
Date and time in ISO 8601 format.
name: Option<String>
The name of the resource.
resource_id: Option<String>
The ID of the linked resource.
id: Option<String>
An alphanumeric string identifying the resource.
href: Option<String>
The path to the resource.
service_id: Option<String>
Alphanumeric string identifying the service.
version: Option<i32>
Integer identifying a service version.
resource_type: Option<TypeResource>
Implementations§
source§impl ResourceResponse
impl ResourceResponse
pub fn new() -> ResourceResponse
Trait Implementations§
source§impl Clone for ResourceResponse
impl Clone for ResourceResponse
source§fn clone(&self) -> ResourceResponse
fn clone(&self) -> ResourceResponse
Returns a copy of the value. Read more
1.0.0 · 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 ResourceResponse
impl Debug for ResourceResponse
source§impl Default for ResourceResponse
impl Default for ResourceResponse
source§fn default() -> ResourceResponse
fn default() -> ResourceResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ResourceResponse
impl<'de> Deserialize<'de> for ResourceResponse
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