Struct podman_api::models::LibpodPodInspectResponse
source · [−]pub struct LibpodPodInspectResponse {Show 17 fields
pub cgroup_parent: Option<String>,
pub cgroup_path: Option<String>,
pub containers: Option<Vec<InspectPodContainerInfo, Global>>,
pub create_cgroup: Option<bool>,
pub create_command: Option<Vec<String, Global>>,
pub create_infra: Option<bool>,
pub created: Option<DateTime<Utc>>,
pub hostname: Option<String>,
pub id: Option<String>,
pub infra_config: Option<InspectPodInfraConfig>,
pub infra_container_id: Option<String>,
pub labels: Option<HashMap<String, String, RandomState>>,
pub name: Option<String>,
pub namespace: Option<String>,
pub num_containers: Option<i64>,
pub shared_namespaces: Option<Vec<String, Global>>,
pub state: Option<String>,
}
Fields
cgroup_parent: Option<String>
CgroupParent is the parent of the pod’s CGroup.
cgroup_path: Option<String>
CgroupPath is the path to the pod’s CGroup.
containers: Option<Vec<InspectPodContainerInfo, Global>>
Containers gives a brief summary of all containers in the pod and their current status.
create_cgroup: Option<bool>
CreateCgroup is whether this pod will create its own CGroup to group containers under.
create_command: Option<Vec<String, Global>>
CreateCommand is the full command plus arguments of the process the container has been created with.
create_infra: Option<bool>
CreateInfra is whether this pod will create an infra container to share namespaces.
created: Option<DateTime<Utc>>
Created is the time when the pod was created.
hostname: Option<String>
Hostname is the hostname that the pod will set.
id: Option<String>
ID is the ID of the pod.
infra_config: Option<InspectPodInfraConfig>
infra_container_id: Option<String>
InfraContainerID is the ID of the pod’s infra container, if one is present.
labels: Option<HashMap<String, String, RandomState>>
Labels is a set of key-value labels that have been applied to the pod.
name: Option<String>
Name is the name of the pod.
namespace: Option<String>
Namespace is the Libpod namespace the pod is placed in.
num_containers: Option<i64>
NumContainers is the number of containers in the pod, including the infra container.
SharedNamespaces contains a list of namespaces that will be shared by containers within the pod. Can only be set if CreateInfra is true.
state: Option<String>
State represents the current state of the pod.
Trait Implementations
sourceimpl Clone for LibpodPodInspectResponse
impl Clone for LibpodPodInspectResponse
sourcefn clone(&self) -> LibpodPodInspectResponse
fn clone(&self) -> LibpodPodInspectResponse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for LibpodPodInspectResponse
impl Debug for LibpodPodInspectResponse
sourceimpl<'de> Deserialize<'de> for LibpodPodInspectResponse
impl<'de> Deserialize<'de> for LibpodPodInspectResponse
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<LibpodPodInspectResponse, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<LibpodPodInspectResponse, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<LibpodPodInspectResponse> for LibpodPodInspectResponse
impl PartialEq<LibpodPodInspectResponse> for LibpodPodInspectResponse
sourcefn eq(&self, other: &LibpodPodInspectResponse) -> bool
fn eq(&self, other: &LibpodPodInspectResponse) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &LibpodPodInspectResponse) -> bool
fn ne(&self, other: &LibpodPodInspectResponse) -> bool
This method tests for !=
.
sourceimpl Serialize for LibpodPodInspectResponse
impl Serialize for LibpodPodInspectResponse
sourcefn 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 LibpodPodInspectResponse
Auto Trait Implementations
impl RefUnwindSafe for LibpodPodInspectResponse
impl Send for LibpodPodInspectResponse
impl Sync for LibpodPodInspectResponse
impl Unpin for LibpodPodInspectResponse
impl UnwindSafe for LibpodPodInspectResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more