pub struct SwitchClientExt2Request {
pub target: Option<SessionName>,
pub key_table: Option<String>,
pub last_session: bool,
pub next_session: bool,
pub previous_session: bool,
pub toggle_read_only: bool,
pub flags: Option<Vec<String>>,
pub sort_order: Option<String>,
pub skip_environment_update: bool,
}Expand description
Further-extended request payload for switch-client.
Fields§
§target: Option<SessionName>The optional exact target session name.
key_table: Option<String>The optional key table to set for the attached client.
last_session: boolWhether the client’s last session should be recalled.
next_session: boolWhether the next session in order should be selected.
previous_session: boolWhether the previous session in order should be selected.
toggle_read_only: boolWhether readonly mode should be toggled for the addressed client.
flags: Option<Vec<String>>Reserved legacy field kept for wire compatibility; switch-client does not support -f.
sort_order: Option<String>Optional tmux list-sorting token used by -n and -p.
skip_environment_update: boolWhether client environment updates should be skipped.
Trait Implementations§
Source§impl Clone for SwitchClientExt2Request
impl Clone for SwitchClientExt2Request
Source§fn clone(&self) -> SwitchClientExt2Request
fn clone(&self) -> SwitchClientExt2Request
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SwitchClientExt2Request
impl Debug for SwitchClientExt2Request
Source§impl<'de> Deserialize<'de> for SwitchClientExt2Request
impl<'de> Deserialize<'de> for SwitchClientExt2Request
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SwitchClientExt2Request
impl PartialEq for SwitchClientExt2Request
Source§fn eq(&self, other: &SwitchClientExt2Request) -> bool
fn eq(&self, other: &SwitchClientExt2Request) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SwitchClientExt2Request
impl Serialize for SwitchClientExt2Request
impl Eq for SwitchClientExt2Request
impl StructuralPartialEq for SwitchClientExt2Request
Auto Trait Implementations§
impl Freeze for SwitchClientExt2Request
impl RefUnwindSafe for SwitchClientExt2Request
impl Send for SwitchClientExt2Request
impl Sync for SwitchClientExt2Request
impl Unpin for SwitchClientExt2Request
impl UnsafeUnpin for SwitchClientExt2Request
impl UnwindSafe for SwitchClientExt2Request
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