Struct podman_api::models::HostInfo

source ·
pub struct HostInfo {
Show 28 fields pub arch: Option<String>, pub buildah_version: Option<String>, pub cgroup_controllers: Option<Vec<String, Global>>, pub cgroup_manager: Option<String>, pub cgroup_version: Option<String>, pub conmon: Option<ConmonInfo>, pub cpu_utilization: Option<CpuUsage>, pub cpus: Option<i64>, pub distribution: Option<DistributionInfo>, pub event_logger: Option<String>, pub hostname: Option<String>, pub id_mappings: Option<IdMappings>, pub kernel: Option<String>, pub linkmode: Option<String>, pub log_driver: Option<String>, pub mem_free: Option<i64>, pub mem_total: Option<i64>, pub network_backend: Option<String>, pub oci_runtime: Option<OciRuntimeInfo>, pub os: Option<String>, pub remote_socket: Option<RemoteSocket>, pub runtime_info: Option<HashMap<String, Value, RandomState>>, pub security: Option<SecurityInfo>, pub service_is_remote: Option<bool>, pub slirp_4_netns: Option<SlirpInfo>, pub swap_free: Option<i64>, pub swap_total: Option<i64>, pub uptime: Option<String>,
}
Expand description

HostInfo describes the libpod host

Fields§

§arch: Option<String>§buildah_version: Option<String>§cgroup_controllers: Option<Vec<String, Global>>§cgroup_manager: Option<String>§cgroup_version: Option<String>§conmon: Option<ConmonInfo>§cpu_utilization: Option<CpuUsage>§cpus: Option<i64>§distribution: Option<DistributionInfo>§event_logger: Option<String>§hostname: Option<String>§id_mappings: Option<IdMappings>§kernel: Option<String>§linkmode: Option<String>§log_driver: Option<String>§mem_free: Option<i64>§mem_total: Option<i64>§network_backend: Option<String>§oci_runtime: Option<OciRuntimeInfo>§os: Option<String>§remote_socket: Option<RemoteSocket>§runtime_info: Option<HashMap<String, Value, RandomState>>§security: Option<SecurityInfo>§service_is_remote: Option<bool>

ServiceIsRemote is true when the podman/libpod service is remote to the client

§slirp_4_netns: Option<SlirpInfo>§swap_free: Option<i64>§swap_total: Option<i64>§uptime: Option<String>

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

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

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more