pub struct WaitResponse {
pub error: Option<Box<WaitExitError>>,
pub status_code: i64,
}
Expand description
WaitResponse : OK response to ContainerWait operation
Fields§
§error: Option<Box<WaitExitError>>
§status_code: i64
Exit code of the container
Implementations§
Source§impl WaitResponse
impl WaitResponse
Sourcepub fn new(status_code: i64) -> WaitResponse
pub fn new(status_code: i64) -> WaitResponse
OK response to ContainerWait operation
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§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§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
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