pub struct MonitoringGetDropletFilesystemFreeMetricsResponse {
pub data: MonitoringGetDropletFilesystemFreeMetricsResponseData,
pub status: MonitoringGetDropletFilesystemFreeMetricsResponseStatus,
}Expand description
MonitoringGetDropletFilesystemFreeMetricsResponse
JSON schema
{
"type": "object",
"required": [
"data",
"status"
],
"properties": {
"data": {
"type": "object",
"required": [
"result",
"resultType"
],
"properties": {
"result": {
"description": "Result of query.",
"type": "array",
"items": {
"type": "object",
"required": [
"metric",
"values"
],
"properties": {
"metric": {
"description": "An object containing the metric's labels. These labels are key/value pairs that vary depending on the metric being queried. For example, load balancer metrics contain a `lb_id` label, while Droplet metrics contain a `host_id` label, and App Platform metrics contain a `app_component` label.",
"examples": [
{
"host_id": "19201920"
}
],
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"values": {
"description": "An array of values for the metric.",
"examples": [
[
[
1435781430,
"1"
],
[
1435781445,
"1"
]
]
],
"type": "array",
"items": {
"type": "array",
"items": {
"oneOf": [
{
"type": "integer"
},
{
"type": "string"
}
]
}
}
}
}
}
},
"resultType": {
"examples": [
"matrix"
],
"type": "string",
"enum": [
"matrix"
]
}
}
},
"status": {
"examples": [
"success"
],
"type": "string",
"enum": [
"success",
"error"
]
}
}
}Fields§
§data: MonitoringGetDropletFilesystemFreeMetricsResponseData§status: MonitoringGetDropletFilesystemFreeMetricsResponseStatusTrait Implementations§
Source§impl Clone for MonitoringGetDropletFilesystemFreeMetricsResponse
impl Clone for MonitoringGetDropletFilesystemFreeMetricsResponse
Source§fn clone(&self) -> MonitoringGetDropletFilesystemFreeMetricsResponse
fn clone(&self) -> MonitoringGetDropletFilesystemFreeMetricsResponse
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<'de> Deserialize<'de> for MonitoringGetDropletFilesystemFreeMetricsResponse
impl<'de> Deserialize<'de> for MonitoringGetDropletFilesystemFreeMetricsResponse
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<&MonitoringGetDropletFilesystemFreeMetricsResponse> for MonitoringGetDropletFilesystemFreeMetricsResponse
impl From<&MonitoringGetDropletFilesystemFreeMetricsResponse> for MonitoringGetDropletFilesystemFreeMetricsResponse
Source§fn from(value: &MonitoringGetDropletFilesystemFreeMetricsResponse) -> Self
fn from(value: &MonitoringGetDropletFilesystemFreeMetricsResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MonitoringGetDropletFilesystemFreeMetricsResponse
impl RefUnwindSafe for MonitoringGetDropletFilesystemFreeMetricsResponse
impl Send for MonitoringGetDropletFilesystemFreeMetricsResponse
impl Sync for MonitoringGetDropletFilesystemFreeMetricsResponse
impl Unpin for MonitoringGetDropletFilesystemFreeMetricsResponse
impl UnsafeUnpin for MonitoringGetDropletFilesystemFreeMetricsResponse
impl UnwindSafe for MonitoringGetDropletFilesystemFreeMetricsResponse
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