pub struct NewSessionReuse {
pub attach_if_exists: bool,
pub detach_other_clients: bool,
pub kill_other_clients: bool,
pub skip_environment_update: bool,
pub flags: Option<Vec<String>>,
}Expand description
Reuse-related flags for new-session specs.
Fields§
§attach_if_exists: boolAttach to an existing target session instead of treating it as an error.
detach_other_clients: boolDetach other attached clients before attaching.
kill_other_clients: boolDetach and terminate other attached clients before attaching.
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 NewSessionReuse
impl Clone for NewSessionReuse
Source§fn clone(&self) -> NewSessionReuse
fn clone(&self) -> NewSessionReuse
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 NewSessionReuse
impl Debug for NewSessionReuse
Source§impl Default for NewSessionReuse
impl Default for NewSessionReuse
Source§fn default() -> NewSessionReuse
fn default() -> NewSessionReuse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NewSessionReuse
impl<'de> Deserialize<'de> for NewSessionReuse
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 NewSessionReuse
Source§impl PartialEq for NewSessionReuse
impl PartialEq for NewSessionReuse
Source§fn eq(&self, other: &NewSessionReuse) -> bool
fn eq(&self, other: &NewSessionReuse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for NewSessionReuse
impl Serialize for NewSessionReuse
impl StructuralPartialEq for NewSessionReuse
Auto Trait Implementations§
impl Freeze for NewSessionReuse
impl RefUnwindSafe for NewSessionReuse
impl Send for NewSessionReuse
impl Sync for NewSessionReuse
impl Unpin for NewSessionReuse
impl UnsafeUnpin for NewSessionReuse
impl UnwindSafe for NewSessionReuse
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