Struct tmux_interface::commands::options::show_options::ShowOptions
source · pub struct ShowOptions<'a> {
pub include_inherited: bool,
pub global: bool,
pub hooks: bool,
pub pane: bool,
pub quiet: bool,
pub server: bool,
pub value: bool,
pub window: bool,
pub target: Option<Cow<'a, str>>,
pub option: Option<Cow<'a, str>>,
}
Expand description
Structure for showing options
§Manual
tmux ^3.0:
show-options [-AgHpqsvw] [-t target-pane] [option]
(alias: show)
tmux ^1.8:
show-options [-gqsvw] [-t target-session | target-window] [option]
(alias: show)
tmux ^1.7:
show-options [-gsw] [-t target-session | target-window] [option]
(alias: show)
tmux ^1.2:
show-options [-gsw] [-t target-session | target-window]
(alias: show)
tmux ^1.0:
show-options [-t target-session]
(alias: show)
tmux ^0.8:
show-options [-t target-session] option value
(alias: show)
Fields§
§include_inherited: bool
[-A]
- includes options inherited from a parent set of options
global: bool
[-g]
- global session or window options are listed
hooks: bool
[-H]
- includes hooks (omitted by default)
pane: bool
[-p]
- show window options
quiet: bool
[-q]
- no error will be returned if option
is unset
server: bool
[-s]
- show the server options
value: bool
[-v]
- shows only the option value
window: bool
[-w]
- show the window options
target: Option<Cow<'a, str>>
[-t target-pane]
- target session or window name
option: Option<Cow<'a, str>>
[option]
- specify option name
Implementations§
source§impl<'a> ShowOptions<'a>
impl<'a> ShowOptions<'a>
Trait Implementations§
source§impl<'a> Clone for ShowOptions<'a>
impl<'a> Clone for ShowOptions<'a>
source§fn clone(&self) -> ShowOptions<'a>
fn clone(&self) -> ShowOptions<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for ShowOptions<'a>
impl<'a> Debug for ShowOptions<'a>
source§impl<'a> Default for ShowOptions<'a>
impl<'a> Default for ShowOptions<'a>
source§fn default() -> ShowOptions<'a>
fn default() -> ShowOptions<'a>
Returns the “default value” for a type. Read more
source§impl<'a> From<ShowOptions<'a>> for TmuxCommand<'a>
impl<'a> From<ShowOptions<'a>> for TmuxCommand<'a>
source§fn from(item: ShowOptions<'a>) -> Self
fn from(item: ShowOptions<'a>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ShowOptions<'a>
impl<'a> Send for ShowOptions<'a>
impl<'a> Sync for ShowOptions<'a>
impl<'a> Unpin for ShowOptions<'a>
impl<'a> UnwindSafe for ShowOptions<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more