pub struct AttachSessionExt2Request {
pub target: Option<SessionName>,
pub target_spec: Option<String>,
pub detach_other_clients: bool,
pub kill_other_clients: bool,
pub read_only: bool,
pub skip_environment_update: bool,
pub flags: Option<Vec<String>>,
pub working_directory: Option<String>,
pub client_terminal: ClientTerminalContext,
pub client_size: Option<TerminalSize>,
}Expand description
Further-extended request payload for attach-session.
Fields§
§target: Option<SessionName>The optional exact target session name.
target_spec: Option<String>The optional raw tmux-style target text, including window/pane selectors.
detach_other_clients: boolWhether other attached clients should be detached first.
kill_other_clients: boolWhether other attached clients should be detached and terminated.
read_only: boolWhether readonly attach mode should be enabled.
skip_environment_update: boolWhether client environment updates should be skipped.
flags: Option<Vec<String>>Optional tmux client-flag names such as read-only or active-pane.
working_directory: Option<String>Optional tmux format-expanded working directory applied to the target session.
client_terminal: ClientTerminalContextTerminal/runtime hints captured from the invoking client.
client_size: Option<TerminalSize>The invoking client terminal size, when known.
Trait Implementations§
Source§impl Clone for AttachSessionExt2Request
impl Clone for AttachSessionExt2Request
Source§fn clone(&self) -> AttachSessionExt2Request
fn clone(&self) -> AttachSessionExt2Request
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 AttachSessionExt2Request
impl Debug for AttachSessionExt2Request
Source§impl<'de> Deserialize<'de> for AttachSessionExt2Request
impl<'de> Deserialize<'de> for AttachSessionExt2Request
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 AttachSessionExt2Request
impl PartialEq for AttachSessionExt2Request
Source§fn eq(&self, other: &AttachSessionExt2Request) -> bool
fn eq(&self, other: &AttachSessionExt2Request) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AttachSessionExt2Request
impl Serialize for AttachSessionExt2Request
impl Eq for AttachSessionExt2Request
impl StructuralPartialEq for AttachSessionExt2Request
Auto Trait Implementations§
impl Freeze for AttachSessionExt2Request
impl RefUnwindSafe for AttachSessionExt2Request
impl Send for AttachSessionExt2Request
impl Sync for AttachSessionExt2Request
impl Unpin for AttachSessionExt2Request
impl UnsafeUnpin for AttachSessionExt2Request
impl UnwindSafe for AttachSessionExt2Request
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