pub struct ShowMessages<'a> {
pub jobs: bool,
pub terminals: bool,
pub target_client: Option<Cow<'a, str>>,
}
Expand description
Show client messages or server information
§Manual
tmux ^2.2:
show-messages [-JT] [-t target-client]
(alias: showmsgs)
tmux ^1.9:
show-messages [-IJT] [-t target-client]
(alias: showmsgs)
tmux ^1.2:
show-messages [-t target-client]
(alias: showmsgs)
Fields§
§jobs: bool
[-J]
terminals: bool
[-T]
target_client: Option<Cow<'a, str>>
[-t target-client]
Implementations§
Trait Implementations§
source§impl<'a> Clone for ShowMessages<'a>
impl<'a> Clone for ShowMessages<'a>
source§fn clone(&self) -> ShowMessages<'a>
fn clone(&self) -> ShowMessages<'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 ShowMessages<'a>
impl<'a> Debug for ShowMessages<'a>
source§impl<'a> Default for ShowMessages<'a>
impl<'a> Default for ShowMessages<'a>
source§fn default() -> ShowMessages<'a>
fn default() -> ShowMessages<'a>
Returns the “default value” for a type. Read more
source§impl<'a> From<ShowMessages<'a>> for TmuxCommand<'a>
impl<'a> From<ShowMessages<'a>> for TmuxCommand<'a>
source§fn from(item: ShowMessages<'a>) -> Self
fn from(item: ShowMessages<'a>) -> Self
Converts to this type from the input type.
source§impl<'a> Hash for ShowMessages<'a>
impl<'a> Hash for ShowMessages<'a>
source§impl<'a> Ord for ShowMessages<'a>
impl<'a> Ord for ShowMessages<'a>
source§fn cmp(&self, other: &ShowMessages<'a>) -> Ordering
fn cmp(&self, other: &ShowMessages<'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 ShowMessages<'a>
impl<'a> PartialEq for ShowMessages<'a>
source§fn eq(&self, other: &ShowMessages<'a>) -> bool
fn eq(&self, other: &ShowMessages<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> PartialOrd for ShowMessages<'a>
impl<'a> PartialOrd for ShowMessages<'a>
source§fn partial_cmp(&self, other: &ShowMessages<'a>) -> Option<Ordering>
fn partial_cmp(&self, other: &ShowMessages<'a>) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<'a> Eq for ShowMessages<'a>
impl<'a> StructuralPartialEq for ShowMessages<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ShowMessages<'a>
impl<'a> Send for ShowMessages<'a>
impl<'a> Sync for ShowMessages<'a>
impl<'a> Unpin for ShowMessages<'a>
impl<'a> UnwindSafe for ShowMessages<'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