Struct fastly_api::models::service_response::ServiceResponse
source · pub struct ServiceResponse {
pub created_at: Option<String>,
pub deleted_at: Option<String>,
pub updated_at: Option<String>,
pub comment: Option<String>,
pub name: Option<String>,
pub customer_id: Option<String>,
pub _type: Option<Type>,
pub id: Option<Box<String>>,
pub publish_key: Option<String>,
pub paused: Option<bool>,
pub versions: Option<Vec<SchemasVersionResponse>>,
}
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.
comment: Option<String>
A freeform descriptive note.
name: Option<String>
The name of the service.
customer_id: Option<String>
Alphanumeric string identifying the customer.
_type: Option<Type>
The type of this service.
id: Option<Box<String>>
§publish_key: Option<String>
Unused at this time.
paused: Option<bool>
Whether the service is paused. Services are paused due to a lack of traffic for an extended period of time. Services are resumed either when a draft version is activated or a locked version is cloned and reactivated.
versions: Option<Vec<SchemasVersionResponse>>
A list of versions associated with the service.
Implementations§
source§impl ServiceResponse
impl ServiceResponse
pub fn new() -> ServiceResponse
Trait Implementations§
source§impl Clone for ServiceResponse
impl Clone for ServiceResponse
source§fn clone(&self) -> ServiceResponse
fn clone(&self) -> ServiceResponse
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 ServiceResponse
impl Debug for ServiceResponse
source§impl Default for ServiceResponse
impl Default for ServiceResponse
source§fn default() -> ServiceResponse
fn default() -> ServiceResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ServiceResponse
impl<'de> Deserialize<'de> for ServiceResponse
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