Struct podman_api::models::HostInfo
source · [−]pub struct HostInfo {Show 26 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 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 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 slirp4netns: 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>
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>
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
slirp4netns: Option<SlirpInfo>
swap_free: Option<i64>
swap_total: Option<i64>
uptime: Option<String>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for HostInfo
impl<'de> Deserialize<'de> for HostInfo
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<HostInfo, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<HostInfo, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for HostInfo
impl Serialize for HostInfo
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 HostInfo
Auto Trait Implementations
impl RefUnwindSafe for HostInfo
impl Send for HostInfo
impl Sync for HostInfo
impl Unpin for HostInfo
impl UnwindSafe for HostInfo
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)
🔬 This is a nightly-only experimental API. (
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