pub struct AttachSessionSpec {
pub target: Option<SessionName>,
pub target_spec: Option<String>,
pub reuse: AttachSessionReuse,
pub working_directory: Option<String>,
pub client_terminal: ClientTerminalSpec,
pub client_size: Option<TerminalSizeSpec>,
}Expand description
SDK value object for attach-session.
Fields§
§target: Option<SessionName>Optional exact target session name.
target_spec: Option<String>Optional raw tmux-style target text, including window or pane selectors.
reuse: AttachSessionReuseReuse and client-detach flags.
working_directory: Option<String>Optional tmux format-expanded working directory applied to the target.
client_terminal: ClientTerminalSpecTerminal/runtime hints captured from the invoking client.
client_size: Option<TerminalSizeSpec>The invoking client terminal size, when known.
Trait Implementations§
Source§impl Clone for AttachSessionSpec
impl Clone for AttachSessionSpec
Source§fn clone(&self) -> AttachSessionSpec
fn clone(&self) -> AttachSessionSpec
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 AttachSessionSpec
impl Debug for AttachSessionSpec
Source§impl Default for AttachSessionSpec
impl Default for AttachSessionSpec
Source§fn default() -> AttachSessionSpec
fn default() -> AttachSessionSpec
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AttachSessionSpec
impl<'de> Deserialize<'de> for AttachSessionSpec
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
impl Eq for AttachSessionSpec
Source§impl From<AttachSessionSpec> for RmuxCommandKind
impl From<AttachSessionSpec> for RmuxCommandKind
Source§fn from(value: AttachSessionSpec) -> Self
fn from(value: AttachSessionSpec) -> Self
Converts to this type from the input type.
Source§impl From<AttachSessionSpec> for Request
impl From<AttachSessionSpec> for Request
Source§fn from(value: AttachSessionSpec) -> Self
fn from(value: AttachSessionSpec) -> Self
Converts to this type from the input type.
Source§impl From<AttachSessionSpec> for RmuxCommand
impl From<AttachSessionSpec> for RmuxCommand
Source§fn from(value: AttachSessionSpec) -> Self
fn from(value: AttachSessionSpec) -> Self
Converts to this type from the input type.
Source§impl From<AttachSessionSpec> for AttachSessionExt2Request
impl From<AttachSessionSpec> for AttachSessionExt2Request
Source§fn from(value: AttachSessionSpec) -> Self
fn from(value: AttachSessionSpec) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AttachSessionSpec
impl PartialEq for AttachSessionSpec
Source§fn eq(&self, other: &AttachSessionSpec) -> bool
fn eq(&self, other: &AttachSessionSpec) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AttachSessionSpec
impl Serialize for AttachSessionSpec
impl StructuralPartialEq for AttachSessionSpec
Auto Trait Implementations§
impl Freeze for AttachSessionSpec
impl RefUnwindSafe for AttachSessionSpec
impl Send for AttachSessionSpec
impl Sync for AttachSessionSpec
impl Unpin for AttachSessionSpec
impl UnsafeUnpin for AttachSessionSpec
impl UnwindSafe for AttachSessionSpec
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