pub struct LibpodPingInfo {
    pub api_version: String,
    pub libpod_api_version: String,
    pub libpod_buildah_version: String,
    pub buildkit_version: Option<String>,
    pub cache_control: String,
    pub docker_experimental: bool,
    pub pragma: String,
}
Expand description

Data returned from /ping endpoint by libpod

Fields§

§api_version: String

Max compatibility API Version the server supports

§libpod_api_version: String

Max Podman API Version the server supports. Available if service is backed by Podman, therefore may be used to determine if talking to Podman engine or another engine

§libpod_buildah_version: String

Default version of libpod image builder. Available if service is backed by Podman, therefore may be used to determine if talking to Podman engine or another engine

§buildkit_version: Option<String>

Default version of docker image builder

§cache_control: String

Always no-cache

§docker_experimental: bool

If the server is running with experimental mode enabled, always true

§pragma: String

Always no-cache

Trait Implementations§

Formats the value using the given formatter. Read more
Serialize this value into the given Serde serializer. Read more
The type returned in the event of a conversion error.
Performs the conversion.

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 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