pub struct ServiceDetail {Show 14 fields
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>>,
pub active_version: Option<Box<ServiceVersionDetailOrNull>>,
pub version: Option<Box<ServiceVersionDetail>>,
}
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.
active_version: Option<Box<ServiceVersionDetailOrNull>>
§version: Option<Box<ServiceVersionDetail>>
Implementations§
Source§impl ServiceDetail
impl ServiceDetail
pub fn new() -> ServiceDetail
Trait Implementations§
Source§impl Clone for ServiceDetail
impl Clone for ServiceDetail
Source§fn clone(&self) -> ServiceDetail
fn clone(&self) -> ServiceDetail
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 ServiceDetail
impl Debug for ServiceDetail
Source§impl Default for ServiceDetail
impl Default for ServiceDetail
Source§fn default() -> ServiceDetail
fn default() -> ServiceDetail
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ServiceDetail
impl<'de> Deserialize<'de> for ServiceDetail
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 ServiceDetail
impl PartialEq for ServiceDetail
Source§impl Serialize for ServiceDetail
impl Serialize for ServiceDetail
impl StructuralPartialEq for ServiceDetail
Auto Trait Implementations§
impl Freeze for ServiceDetail
impl RefUnwindSafe for ServiceDetail
impl Send for ServiceDetail
impl Sync for ServiceDetail
impl Unpin for ServiceDetail
impl UnwindSafe for ServiceDetail
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