Struct ContainerListItem

Source
pub struct ContainerListItem {
Show 27 fields pub auto_remove: bool, pub cid_file: String, pub command: Vec<String>, pub created: DateTime<Utc>, pub created_at: DateTime<Utc>, pub exit_code: i32, pub exited: bool, pub exited_at: DateTime<Utc>, pub exposed_ports: HashMap<u16, Vec<String>>, pub id: String, pub image: String, pub image_id: String, pub is_infra: bool, pub labels: HashMap<String, String>, pub mounts: Vec<String>, pub names: Vec<String>, pub namespaces: ContainerListItemNamespaces, pub networks: Vec<String>, pub pid: i64, pub pod: String, pub pod_name: String, pub ports: Vec<PortMapping>, pub restarts: u64, pub size: ContainerListItemSize, pub started_at: DateTime<Utc>, pub state: String, pub status: String,
}

Fields§

§auto_remove: bool§cid_file: String§command: Vec<String>§created: DateTime<Utc>§created_at: DateTime<Utc>§exit_code: i32§exited: bool§exited_at: DateTime<Utc>§exposed_ports: HashMap<u16, Vec<String>>§id: String§image: String§image_id: String§is_infra: bool§labels: HashMap<String, String>§mounts: Vec<String>§names: Vec<String>§namespaces: ContainerListItemNamespaces§networks: Vec<String>§pid: i64§pod: String§pod_name: String§ports: Vec<PortMapping>§restarts: u64§size: ContainerListItemSize§started_at: DateTime<Utc>§state: String§status: String

Trait Implementations§

Source§

impl Debug for ContainerListItem

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for ContainerListItem

Source§

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 Serialize for ContainerListItem

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> ErasedDestructor for T
where T: 'static,