# config.Workspace

- **Module:** config
- **Package:** tmux-workspace
- **Language:** Rust
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/tmux-workspace/src/config.rs#L99
- **Page:** https://libtmux.org/en/rs/latest/workspace/reference/config-workspace/

One workspace: a session and the windows it should contain.

## Members

- `session_name` (attribute): The session name to create.
- `start_directory` (attribute): A working directory inherited by windows that do not set their own.
- `environment` (attribute): Environment variables to set on the session.
- `options` (attribute): Session options to apply once the session exists.
- `global_options` (attribute): Global options to apply once the session exists.
- `shell_command_before` (attribute): Commands run in every pane before its own, in order.
- `suppress_history` (attribute): Whether to keep pane commands out of the shell's history.
- `windows` (attribute): The windows to create, in order.
- `unsupported_keys` (attribute): Keys this parser recognized but does not act on.
- `from_yaml` (method): Parse one workspace from tmuxp-style YAML.
- `from_file` (method): Read and parse one workspace file, as `tmuxp load` does.
- `to_yaml` (method): Render this workspace as tmuxp-style YAML.
