pub struct AttachSessionExtRequest {
pub target: Option<SessionName>,
pub detach_other_clients: bool,
pub kill_other_clients: bool,
pub read_only: bool,
pub skip_environment_update: bool,
pub flags: Option<Vec<String>>,
}Expand description
Extended request payload for attach-session.
Fields§
§target: Option<SessionName>The optional exact target session name.
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.
Trait Implementations§
Source§impl Clone for AttachSessionExtRequest
impl Clone for AttachSessionExtRequest
Source§fn clone(&self) -> AttachSessionExtRequest
fn clone(&self) -> AttachSessionExtRequest
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 AttachSessionExtRequest
impl Debug for AttachSessionExtRequest
Source§impl<'de> Deserialize<'de> for AttachSessionExtRequest
impl<'de> Deserialize<'de> for AttachSessionExtRequest
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 AttachSessionExtRequest
impl PartialEq for AttachSessionExtRequest
Source§fn eq(&self, other: &AttachSessionExtRequest) -> bool
fn eq(&self, other: &AttachSessionExtRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AttachSessionExtRequest
impl Serialize for AttachSessionExtRequest
impl Eq for AttachSessionExtRequest
impl StructuralPartialEq for AttachSessionExtRequest
Auto Trait Implementations§
impl Freeze for AttachSessionExtRequest
impl RefUnwindSafe for AttachSessionExtRequest
impl Send for AttachSessionExtRequest
impl Sync for AttachSessionExtRequest
impl Unpin for AttachSessionExtRequest
impl UnsafeUnpin for AttachSessionExtRequest
impl UnwindSafe for AttachSessionExtRequest
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