pub struct AppsGetInstancesResponse {
pub instances: Vec<AppsGetInstancesResponseInstancesItem>,
}Expand description
AppsGetInstancesResponse
JSON schema
{
"type": "object",
"properties": {
"instances": {
"type": "array",
"items": {
"type": "object",
"properties": {
"component_name": {
"description": "Name of the component, from the app spec.",
"examples": [
"sample-golang"
],
"type": "string"
},
"component_type": {
"description": "Supported compute component by DigitalOcean App Platform.",
"examples": [
"SERVICE"
],
"type": "string",
"enum": [
"SERVICE",
"WORKER",
"JOB"
]
},
"instance_alias": {
"description": "Readable identifier, an alias of the instance name, reference for mapping insights to instance names.",
"examples": [
"sample-golang-0"
],
"type": "string"
},
"instance_name": {
"description": "Name of the instance, which is a unique identifier for the instance.",
"examples": [
"sample-golang-76b84c7fb8-6p8kq"
],
"type": "string"
}
}
}
}
}
}Fields§
§instances: Vec<AppsGetInstancesResponseInstancesItem>Trait Implementations§
Source§impl Clone for AppsGetInstancesResponse
impl Clone for AppsGetInstancesResponse
Source§fn clone(&self) -> AppsGetInstancesResponse
fn clone(&self) -> AppsGetInstancesResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AppsGetInstancesResponse
impl Debug for AppsGetInstancesResponse
Source§impl Default for AppsGetInstancesResponse
impl Default for AppsGetInstancesResponse
Source§impl<'de> Deserialize<'de> for AppsGetInstancesResponse
impl<'de> Deserialize<'de> for AppsGetInstancesResponse
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 From<&AppsGetInstancesResponse> for AppsGetInstancesResponse
impl From<&AppsGetInstancesResponse> for AppsGetInstancesResponse
Source§fn from(value: &AppsGetInstancesResponse) -> Self
fn from(value: &AppsGetInstancesResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AppsGetInstancesResponse
impl RefUnwindSafe for AppsGetInstancesResponse
impl Send for AppsGetInstancesResponse
impl Sync for AppsGetInstancesResponse
impl Unpin for AppsGetInstancesResponse
impl UnsafeUnpin for AppsGetInstancesResponse
impl UnwindSafe for AppsGetInstancesResponse
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