pub struct WaitResponse {
pub error: Option<WaitExitError>,
pub status_code: i64,
}
Available on crate feature
v5
only.Expand description
WaitResponse ContainerWaitResponse OK response to ContainerWait operation
Fields§
§error: Option<WaitExitError>
§status_code: i64
Exit code of the container
Trait Implementations§
Source§impl Debug for WaitResponse
impl Debug for WaitResponse
Source§impl Default for WaitResponse
impl Default for WaitResponse
Source§fn default() -> WaitResponse
fn default() -> WaitResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WaitResponse
impl<'de> Deserialize<'de> for WaitResponse
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
Auto Trait Implementations§
impl Freeze for WaitResponse
impl RefUnwindSafe for WaitResponse
impl Send for WaitResponse
impl Sync for WaitResponse
impl Unpin for WaitResponse
impl UnwindSafe for WaitResponse
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