Struct bollard::secret::ContainerStatus
source · pub struct ContainerStatus {
pub container_id: Option<String>,
pub pid: Option<i64>,
pub exit_code: Option<i64>,
}
Expand description
represents the status of a container.
Fields§
§container_id: Option<String>
§pid: Option<i64>
§exit_code: Option<i64>
Trait Implementations§
source§impl Clone for ContainerStatus
impl Clone for ContainerStatus
source§fn clone(&self) -> ContainerStatus
fn clone(&self) -> ContainerStatus
Returns a copy 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 ContainerStatus
impl Debug for ContainerStatus
source§impl Default for ContainerStatus
impl Default for ContainerStatus
source§fn default() -> ContainerStatus
fn default() -> ContainerStatus
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ContainerStatus
impl<'de> Deserialize<'de> for ContainerStatus
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<ContainerStatus, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<ContainerStatus, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for ContainerStatus
impl PartialEq for ContainerStatus
source§fn eq(&self, other: &ContainerStatus) -> bool
fn eq(&self, other: &ContainerStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ContainerStatus
impl Serialize for ContainerStatus
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ContainerStatus
Auto Trait Implementations§
impl Freeze for ContainerStatus
impl RefUnwindSafe for ContainerStatus
impl Send for ContainerStatus
impl Sync for ContainerStatus
impl Unpin for ContainerStatus
impl UnwindSafe for ContainerStatus
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