Struct podman_api::models::Container
source · [−]pub struct Container {Show 20 fields
pub adjust_cpu_shares: Option<bool>,
pub command: Option<String>,
pub config: Option<Config>,
pub created: Option<i64>,
pub host_config: Option<HostConfig>,
pub id: Option<String>,
pub image: Option<String>,
pub image_id: Option<String>,
pub labels: Option<HashMap<String, String, RandomState>>,
pub mounts: Option<Vec<MountPoint, Global>>,
pub name: Option<String>,
pub names: Option<Vec<String, Global>>,
pub network_settings: Option<SummaryNetworkSettings>,
pub networking_config: Option<NetworkingConfig>,
pub platform: Option<Platform>,
pub ports: Option<Vec<Port, Global>>,
pub size_root_fs: Option<i64>,
pub size_rw: Option<i64>,
pub state: Option<String>,
pub status: Option<String>,
}
Fields
command: Option<String>
config: Option<Config>
created: Option<i64>
host_config: Option<HostConfig>
id: Option<String>
image: Option<String>
image_id: Option<String>
labels: Option<HashMap<String, String, RandomState>>
mounts: Option<Vec<MountPoint, Global>>
name: Option<String>
names: Option<Vec<String, Global>>
network_settings: Option<SummaryNetworkSettings>
networking_config: Option<NetworkingConfig>
platform: Option<Platform>
ports: Option<Vec<Port, Global>>
size_root_fs: Option<i64>
size_rw: Option<i64>
state: Option<String>
status: Option<String>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Container
impl<'de> Deserialize<'de> for Container
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<Container, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<Container, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<Container> for Container
impl PartialEq<Container> for Container
sourceimpl Serialize for Container
impl Serialize for Container
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 Container
Auto Trait Implementations
impl RefUnwindSafe for Container
impl Send for Container
impl Sync for Container
impl Unpin for Container
impl UnwindSafe for Container
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> 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