[][src]Struct i3ipc::reply::Version

pub struct Version {
    pub major: i32,
    pub minor: i32,
    pub patch: i32,
    pub human_readable: String,
    pub loaded_config_file_name: String,
}

The reply to the get_version request.

Fields

major: i32

The major version of i3, such as 4.

minor: i32

The minor version of i3, such as 2. Changes in the IPC interface (new features) will only occur with new minor (or major) releases. However, bugfixes might be introduced in patch releases, too.

patch: i32

The patch version of i3, such as 1 (when the complete version is 4.2.1). For versions such as 4.2, patch will be set to 0.

human_readable: String

A human-readable version of i3 containing the precise git version, build date and branch name. When you need to display the i3 version to your users, use the human-readable version whenever possible (since this is what i3 --version displays, too).

loaded_config_file_name: String

The current config path.

Trait Implementations

impl Debug for Version[src]

Auto Trait Implementations

impl Send for Version

impl Sync for Version

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]