pub fn new() -> Self {
        Self {
            version: env!("CARGO_PKG_VERSION").to_string(),
        }
    }
/// Create a new instance of the `Info` struct.
///
/// The version is retrieved from the `Cargo.toml` file.
Create a new instance of the `Info` struct.
The version is retrieved from the `Cargo.toml` file.
Create a new instance of the ` Info ` struct . The version is retrieved from the ` Cargo . toml ` file .
pub fn new() -> Self {
        Self {
            version: env!("CARGO_PKG_VERSION").to_string(),
        }
    }
pub fn new ( ) -> Self { Self { version : env ! ( " " ) . to_string ( ) , } }
Create a new instance of the `Info` struct.
Create a new instance of the ` Info ` struct .