pub struct Service {Show 20 fields
pub auto_deploy: Option<AutoDeploy>,
pub branch: Option<String>,
pub build_filter: Option<BuildFilter>,
pub created_at: Option<DateTime<Utc>>,
pub dashboard_url: Option<String>,
pub environment_id: Option<String>,
pub id: Option<String>,
pub image_path: Option<String>,
pub name: Option<String>,
pub notify_on_fail: Option<NotifySetting>,
pub owner_id: Option<String>,
pub registry_credential: Option<RegistryCredentialSummary>,
pub repo: Option<String>,
pub root_dir: Option<String>,
pub service_details: Option<ServiceServiceDetails>,
pub slug: Option<String>,
pub suspended: Option<String>,
pub suspenders: Vec<SuspenderType>,
pub type_: Option<ServiceType>,
pub updated_at: Option<DateTime<Utc>>,
}Expand description
Service
JSON schema
{
"type": "object",
"properties": {
"autoDeploy": {
"$ref": "#/components/schemas/autoDeploy"
},
"branch": {
"type": "string"
},
"buildFilter": {
"$ref": "#/components/schemas/buildFilter"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"dashboardUrl": {
"description": "The URL to view the service in the Render
Dashboard",
"type": "string"
},
"environmentId": {
"type": "string"
},
"id": {
"type": "string"
},
"imagePath": {
"type": "string"
},
"name": {
"type": "string"
},
"notifyOnFail": {
"$ref": "#/components/schemas/notifySetting"
},
"ownerId": {
"type": "string"
},
"registryCredential": {
"$ref": "#/components/schemas/registryCredentialSummary"
},
"repo": {
"examples": [
"https://github.com/render-examples/flask-hello-world"
],
"type": "string"
},
"rootDir": {
"type": "string"
},
"serviceDetails": {
"oneOf": [
{
"$ref": "#/components/schemas/staticSiteDetails"
},
{
"$ref": "#/components/schemas/webServiceDetails"
},
{
"$ref": "#/components/schemas/privateServiceDetails"
},
{
"$ref": "#/components/schemas/backgroundWorkerDetails"
},
{
"$ref": "#/components/schemas/cronJobDetails"
}
]
},
"slug": {
"type": "string"
},
"suspended": {
"type": "string"
},
"suspenders": {
"type": "array",
"items": {
"$ref": "#/components/schemas/suspenderType"
}
},
"type": {
"$ref": "#/components/schemas/serviceType"
},
"updatedAt": {
"type": "string",
"format": "date-time"
}
}
}Fields§
§auto_deploy: Option<AutoDeploy>§branch: Option<String>§build_filter: Option<BuildFilter>§created_at: Option<DateTime<Utc>>§dashboard_url: Option<String>The URL to view the service in the Render Dashboard
environment_id: Option<String>§id: Option<String>§image_path: Option<String>§name: Option<String>§notify_on_fail: Option<NotifySetting>§owner_id: Option<String>§registry_credential: Option<RegistryCredentialSummary>§repo: Option<String>§root_dir: Option<String>§service_details: Option<ServiceServiceDetails>§slug: Option<String>§suspended: Option<String>§suspenders: Vec<SuspenderType>§type_: Option<ServiceType>§updated_at: Option<DateTime<Utc>>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Service
impl<'de> Deserialize<'de> for Service
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
Auto Trait Implementations§
impl Freeze for Service
impl RefUnwindSafe for Service
impl Send for Service
impl Sync for Service
impl Unpin for Service
impl UnsafeUnpin for Service
impl UnwindSafe for Service
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