# target.WindowId

- **Module:** target
- **Package:** libtmux
- **Language:** Rust
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-rs/blob/84de9258a07d10bdd5f6da01b016a9ae06fe1210/crates/libtmux/src/target.rs#L143
- **Page:** https://libtmux.org/en/rs/latest/reference/target-windowid/

A native tmux window ID such as `@1`.

Leading zeroes are accepted but canonicalized to the numeric tmux ID.

## Examples

```rust
use libtmux::WindowId;

let id: WindowId = "@10".parse()?;
assert_eq!(id.to_string(), "@10");
```
