# quake_qtvinfo [![Test](https://github.com/vikpe/quake_qtvinfo/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/vikpe/quake_qtvinfo/actions/workflows/test.yml) [![crates](https://img.shields.io/crates/v/quake_qtvinfo)](https://crates.io/crates/quake_qtvinfo) [![docs.rs](https://img.shields.io/docsrs/quake_qtvinfo)](https://docs.rs/quake_qtvinfo/) > Parse QTV info strings ## Usage ```rust use quake_qtvinfo::Settings; let settings = Settings::from(r#"\hostname\QUAKE.SE KTX Qtv\maxclients\100\*version\QTV 1.14"#); assert_eq!(settings.version, Some("QTV 1.14".to_string())); assert_eq!(settings.maxclients, Some(100)); assert_eq!(settings.hostname, Some("QUAKE.SE KTX Qtv".to_string())); ``` ## Fields ```rust pub struct Settings { pub hostname: Option, pub maxclients: Option, pub version: Option, } ``` ## See also * [qtvstat](https://github.com/vikpe/qtvstat) - Get information from QTV servers * [quake_clientinfo](https://github.com/vikpe/quake_clientinfo) - Parse QuakeWorld clientinfo strings * [quake_serverinfo](https://github.com/vikpe/quake_serverinfo) - Parse QuakeWorld serverinfo strings * [quake_infostring](https://github.com/vikpe/quake_infostring) - Parse QuakeWorld info strings