pub struct ContainerStats {
pub stream: Option<bool>,
pub one_shot: Option<bool>,
}
Available on crate feature
v4
only.Fields§
§stream: Option<bool>
Stream the output
one_shot: Option<bool>
Provide a one-shot response in which preCPU stats are blank, resulting in a single cycle return.
Trait Implementations§
Source§impl Debug for ContainerStats
impl Debug for ContainerStats
Source§impl Default for ContainerStats
impl Default for ContainerStats
Source§fn default() -> ContainerStats
fn default() -> ContainerStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ContainerStats
impl RefUnwindSafe for ContainerStats
impl Send for ContainerStats
impl Sync for ContainerStats
impl Unpin for ContainerStats
impl UnwindSafe for ContainerStats
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