pub struct ContainerTopResponse {
pub titles: Vec<String>,
pub processes: Vec<Vec<String>>,
}Expand description
Response body for GET /api/v1/containers/{id}/top (Docker compat shape).
Wire field names use Docker’s Titles / Processes casing so the
shim can pass the body through untouched.
Fields§
§titles: Vec<String>ps column titles — e.g. ["UID", "PID", "PPID", "C", "STIME", "TTY", "TIME", "CMD"].
processes: Vec<Vec<String>>One row per process inside the container. Each row has the same
length as titles.
Trait Implementations§
Source§impl ComposeSchema for ContainerTopResponse
impl ComposeSchema for ContainerTopResponse
Source§impl Debug for ContainerTopResponse
impl Debug for ContainerTopResponse
Source§impl Default for ContainerTopResponse
impl Default for ContainerTopResponse
Source§fn default() -> ContainerTopResponse
fn default() -> ContainerTopResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContainerTopResponse
impl<'de> Deserialize<'de> for ContainerTopResponse
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 Serialize for ContainerTopResponse
impl Serialize for ContainerTopResponse
Auto Trait Implementations§
impl Freeze for ContainerTopResponse
impl RefUnwindSafe for ContainerTopResponse
impl Send for ContainerTopResponse
impl Sync for ContainerTopResponse
impl Unpin for ContainerTopResponse
impl UnsafeUnpin for ContainerTopResponse
impl UnwindSafe for ContainerTopResponse
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