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
sourceimpl ServiceResponse
impl ServiceResponse
pub fn new() -> ServiceResponse
Trait Implementations
sourceimpl Clone for ServiceResponse
impl Clone for ServiceResponse
sourcefn clone(&self) -> ServiceResponse
fn clone(&self) -> ServiceResponse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ServiceResponse
impl Debug for ServiceResponse
sourceimpl Default for ServiceResponse
impl Default for ServiceResponse
sourcefn default() -> ServiceResponse
fn default() -> ServiceResponse
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ServiceResponse
impl<'de> Deserialize<'de> for ServiceResponse
sourcefn 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
sourceimpl PartialEq<ServiceResponse> for ServiceResponse
impl PartialEq<ServiceResponse> for ServiceResponse
sourcefn 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 ==. Read more
sourceimpl Serialize for ServiceResponse
impl Serialize for ServiceResponse
impl StructuralPartialEq for ServiceResponse
Auto Trait Implementations
impl RefUnwindSafe for ServiceResponse
impl Send for ServiceResponse
impl Sync for ServiceResponse
impl Unpin for ServiceResponse
impl UnwindSafe for ServiceResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more