pub struct LockClient<'a> {
pub target_client: Option<Cow<'a, str>>,
}
Expand description
Fields§
§target_client: Option<Cow<'a, str>>
[-t target-client]
Implementations§
Source§impl<'a> LockClient<'a>
impl<'a> LockClient<'a>
pub fn new() -> Self
Sourcepub fn target_client<S: Into<Cow<'a, str>>>(self, target_client: S) -> Self
pub fn target_client<S: Into<Cow<'a, str>>>(self, target_client: S) -> Self
[-t target-client]
pub fn build(self) -> TmuxCommand<'a>
Trait Implementations§
Source§impl<'a> Clone for LockClient<'a>
impl<'a> Clone for LockClient<'a>
Source§fn clone(&self) -> LockClient<'a>
fn clone(&self) -> LockClient<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> Debug for LockClient<'a>
impl<'a> Debug for LockClient<'a>
Source§impl<'a> Default for LockClient<'a>
impl<'a> Default for LockClient<'a>
Source§fn default() -> LockClient<'a>
fn default() -> LockClient<'a>
Returns the “default value” for a type. Read more
Source§impl<'a> From<LockClient<'a>> for TmuxCommand<'a>
impl<'a> From<LockClient<'a>> for TmuxCommand<'a>
Source§fn from(item: LockClient<'a>) -> Self
fn from(item: LockClient<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> Hash for LockClient<'a>
impl<'a> Hash for LockClient<'a>
Source§impl<'a> Ord for LockClient<'a>
impl<'a> Ord for LockClient<'a>
Source§fn cmp(&self, other: &LockClient<'a>) -> Ordering
fn cmp(&self, other: &LockClient<'a>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'a> PartialEq for LockClient<'a>
impl<'a> PartialEq for LockClient<'a>
Source§impl<'a> PartialOrd for LockClient<'a>
impl<'a> PartialOrd for LockClient<'a>
impl<'a> Eq for LockClient<'a>
impl<'a> StructuralPartialEq for LockClient<'a>
Auto Trait Implementations§
impl<'a> Freeze for LockClient<'a>
impl<'a> RefUnwindSafe for LockClient<'a>
impl<'a> Send for LockClient<'a>
impl<'a> Sync for LockClient<'a>
impl<'a> Unpin for LockClient<'a>
impl<'a> UnwindSafe for LockClient<'a>
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