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
source§impl PartialEq for ServiceResponse
 
impl PartialEq for ServiceResponse
source§fn eq(&self, other: &ServiceResponse) -> bool
 
fn eq(&self, other: &ServiceResponse) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl Serialize for ServiceResponse
 
impl Serialize for ServiceResponse
impl StructuralPartialEq for ServiceResponse
Auto Trait Implementations§
impl Freeze for ServiceResponse
impl RefUnwindSafe for ServiceResponse
impl Send for ServiceResponse
impl Sync for ServiceResponse
impl Unpin for ServiceResponse
impl UnwindSafe for ServiceResponse
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
source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
 
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)