pub struct WaitContainerQuery {
pub condition: Option<String>,
}Expand description
Query parameters for POST /api/v1/containers/{id}/wait —
Docker’s condition= query string.
Fields§
§condition: Option<String>One of "not-running" (default), "next-exit", or "removed".
Matches Docker’s /containers/{id}/wait semantics. Omitted
values default to "not-running".
Trait Implementations§
Source§impl Debug for WaitContainerQuery
impl Debug for WaitContainerQuery
Source§impl Default for WaitContainerQuery
impl Default for WaitContainerQuery
Source§fn default() -> WaitContainerQuery
fn default() -> WaitContainerQuery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WaitContainerQuery
impl<'de> Deserialize<'de> for WaitContainerQuery
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 WaitContainerQuery
impl IntoParams for WaitContainerQuery
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 WaitContainerQuery
impl RefUnwindSafe for WaitContainerQuery
impl Send for WaitContainerQuery
impl Sync for WaitContainerQuery
impl Unpin for WaitContainerQuery
impl UnsafeUnpin for WaitContainerQuery
impl UnwindSafe for WaitContainerQuery
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