[][src]Struct tmux_interface::global_and_session_environment::SetEnvironment

pub struct SetEnvironment<'a> {
    pub global: Option<bool>,
    pub remove: Option<bool>,
    pub unset: Option<bool>,
    pub target_session: Option<&'a str>,
    pub name: &'a str,
    pub value: Option<&'a str>,
}

Manual

tmux set-environment [-gru] [-t target-session] name [value]
(alias: setenv)

Fields

global: Option<bool>remove: Option<bool>unset: Option<bool>target_session: Option<&'a str>name: &'a strvalue: Option<&'a str>

Methods

impl<'a> SetEnvironment<'a>[src]

pub fn new() -> Self[src]

Trait Implementations

impl<'a> Default for SetEnvironment<'a>[src]

Auto Trait Implementations

impl<'a> Send for SetEnvironment<'a>

impl<'a> Unpin for SetEnvironment<'a>

impl<'a> Sync for SetEnvironment<'a>

impl<'a> UnwindSafe for SetEnvironment<'a>

impl<'a> RefUnwindSafe for SetEnvironment<'a>

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]