#[non_exhaustive]pub struct Response {
pub code: Option<i64>,
pub containers: Option<Vec<Container>>,
pub data: Option<Value>,
pub error: Option<String>,
pub error_message: Option<String>,
pub flags: Option<Vec<String>>,
pub message: Option<String>,
}Expand description
Response Elements
The Response Elements object describes characteristics of an API response.
[] Category: | Name: response
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.code: Option<i64>Response Code
The numeric response sent to a request.
recommended
containers: Option<Vec<Container>>Containers
When working with containerized applications, the set of containers which write to the standard the output of a particular logging driver. For example, this may be the set of containers involved in handling api requests and responses for a containerized application.
optional
data: Option<Value>Data
The additional data that is associated with the api response.
optional
error: Option<String>Error Code
Error Code
recommended
error_message: Option<String>Error Message
Error Message
recommended
flags: Option<Vec<String>>Flags
The communication flags that are associated with the api response.
optional
message: Option<String>Message
The description of the event/finding, as defined by the source.
recommended