pub struct WorkerContainerStatus {
pub service: String,
pub role: String,
pub replica: u32,
pub state: String,
pub overlay_ip: Option<IpAddr>,
}Fields§
§service: String§role: String§replica: u32§state: Stringrunning / exited / failed etc. — same convention as
the agent’s ContainerState string form.
overlay_ip: Option<IpAddr>Container’s overlay IP, if attached.
Trait Implementations§
Source§impl Clone for WorkerContainerStatus
impl Clone for WorkerContainerStatus
Source§fn clone(&self) -> WorkerContainerStatus
fn clone(&self) -> WorkerContainerStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WorkerContainerStatus
impl Debug for WorkerContainerStatus
Source§impl<'de> Deserialize<'de> for WorkerContainerStatus
impl<'de> Deserialize<'de> for WorkerContainerStatus
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 WorkerContainerStatus
impl RefUnwindSafe for WorkerContainerStatus
impl Send for WorkerContainerStatus
impl Sync for WorkerContainerStatus
impl Unpin for WorkerContainerStatus
impl UnsafeUnpin for WorkerContainerStatus
impl UnwindSafe for WorkerContainerStatus
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