pub struct AttachSessionReuse {
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
Reuse-related flags for attach-session specs.
Fields§
§detach_other_clients: boolDetach other attached clients before attaching.
kill_other_clients: boolDetach and terminate other attached clients before attaching.
read_only: boolEnable readonly attach mode.
skip_environment_update: boolSkip client environment updates.
flags: Option<Vec<String>>Optional tmux client-flag names such as read-only or active-pane.
Trait Implementations§
Source§impl Clone for AttachSessionReuse
impl Clone for AttachSessionReuse
Source§fn clone(&self) -> AttachSessionReuse
fn clone(&self) -> AttachSessionReuse
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 AttachSessionReuse
impl Debug for AttachSessionReuse
Source§impl Default for AttachSessionReuse
impl Default for AttachSessionReuse
Source§fn default() -> AttachSessionReuse
fn default() -> AttachSessionReuse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AttachSessionReuse
impl<'de> Deserialize<'de> for AttachSessionReuse
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 AttachSessionReuse
Source§impl PartialEq for AttachSessionReuse
impl PartialEq for AttachSessionReuse
Source§fn eq(&self, other: &AttachSessionReuse) -> bool
fn eq(&self, other: &AttachSessionReuse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AttachSessionReuse
impl Serialize for AttachSessionReuse
impl StructuralPartialEq for AttachSessionReuse
Auto Trait Implementations§
impl Freeze for AttachSessionReuse
impl RefUnwindSafe for AttachSessionReuse
impl Send for AttachSessionReuse
impl Sync for AttachSessionReuse
impl Unpin for AttachSessionReuse
impl UnsafeUnpin for AttachSessionReuse
impl UnwindSafe for AttachSessionReuse
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