# session.settings.Session

- **Module:** session.settings
- **Package:** libtmux
- **Language:** Rust
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-rs/blob/8a648c0894dfffc9303583f753b6c8ae01f2fe76/crates/libtmux/src/session/settings.rs#L13
- **Page:** https://libtmux.org/reference/rs/session-settings-session/

## Members

- `get_option` (method) — Read one option's exact stored value.
- `option_names` (method) — List the option names set at this session's scope.
- `options` (method) — Read every option set at this session, decoded by its declared kind.
- `set_option` (method) — Set one option.
- `append_option` (method) — Append to one option rather than replacing it.
- `unset_option` (method) — Remove one option, restoring whatever it inherits.
- `set_hook` (method) — Set one hook to a tmux command.
- `unset_hook` (method) — Remove one hook.
- `set_hooks` (method) — Write a whole hook at once.
- `hooks` (method) — Read every hook set at this session.
- `hook` (method) — Read one hook's commands, or `None` when it holds nothing.
- `set_environment` (method) — Set an environment variable for processes this session starts.
- `environment` (method) — Read one variable from the session's environment.
- `environment_all` (method) — Read the session's whole environment.
- `hide_environment` (method) — Hide a variable from processes started in this session.
- `unset_environment` (method) — Remove an environment variable from the session.
- `typed_option` (method) — Read one option, decoded according to what tmux declares about it.
