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>>,
pub environments: Option<Vec<Environment>>,
}
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.
environments: Option<Vec<Environment>>
A list of environments where the service has been deployed.
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 duplicate 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§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