pub struct WaitResponse {
pub error: Option<WaitExitError>,
pub status_code: i64,
}
Expand description
OK response to ContainerWait operation
Fields§
§error: Option<WaitExitError>
§status_code: i64
Exit code of the container
Trait Implementations§
Source§impl Clone for WaitResponse
impl Clone for WaitResponse
Source§fn clone(&self) -> WaitResponse
fn clone(&self) -> WaitResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for WaitResponse
impl Debug for WaitResponse
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
Source§impl PartialEq for WaitResponse
impl PartialEq for WaitResponse
Source§impl Serialize for WaitResponse
impl Serialize for WaitResponse
impl StructuralPartialEq for WaitResponse
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