pub struct ContainerTopQuery {
pub ps_args: Option<String>,
}Expand description
Query parameters for GET /api/v1/containers/{id}/top —
Docker’s ps_args=<...> query string. Defaults to the runtime’s
own column set when omitted or empty.
Fields§
§ps_args: Option<String>ps-style argument string, e.g. "aux" or "-eo pid,user,cmd".
Empty / omitted means “use the runtime’s defaults”.
Trait Implementations§
Source§impl Debug for ContainerTopQuery
impl Debug for ContainerTopQuery
Source§impl Default for ContainerTopQuery
impl Default for ContainerTopQuery
Source§fn default() -> ContainerTopQuery
fn default() -> ContainerTopQuery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContainerTopQuery
impl<'de> Deserialize<'de> for ContainerTopQuery
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 IntoParams for ContainerTopQuery
impl IntoParams for ContainerTopQuery
Source§fn into_params(
parameter_in_provider: impl Fn() -> Option<ParameterIn>,
) -> Vec<Parameter>
fn into_params( parameter_in_provider: impl Fn() -> Option<ParameterIn>, ) -> Vec<Parameter>
Provide
Vec of openapi::path::Parameters to caller. The result is used in utoipa-gen library to
provide OpenAPI parameter information for the endpoint using the parameters.Auto Trait Implementations§
impl Freeze for ContainerTopQuery
impl RefUnwindSafe for ContainerTopQuery
impl Send for ContainerTopQuery
impl Sync for ContainerTopQuery
impl Unpin for ContainerTopQuery
impl UnsafeUnpin for ContainerTopQuery
impl UnwindSafe for ContainerTopQuery
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