pub struct TerminalInfo {
pub resource: Uri,
pub title: String,
pub claim: TerminalClaim,
pub exit_code: Option<i64>,
}Expand description
Lightweight terminal metadata exposed on the root state.
Fields§
§resource: UriTerminal URI (subscribable for full terminal state)
title: StringHuman-readable terminal title
claim: TerminalClaimWho currently holds this terminal
exit_code: Option<i64>Process exit code, if the terminal process has exited
Trait Implementations§
Source§impl Clone for TerminalInfo
impl Clone for TerminalInfo
Source§fn clone(&self) -> TerminalInfo
fn clone(&self) -> TerminalInfo
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 TerminalInfo
impl Debug for TerminalInfo
Source§impl<'de> Deserialize<'de> for TerminalInfo
impl<'de> Deserialize<'de> for TerminalInfo
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 TerminalInfo
impl PartialEq for TerminalInfo
Source§fn eq(&self, other: &TerminalInfo) -> bool
fn eq(&self, other: &TerminalInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TerminalInfo
impl Serialize for TerminalInfo
impl StructuralPartialEq for TerminalInfo
Auto Trait Implementations§
impl Freeze for TerminalInfo
impl RefUnwindSafe for TerminalInfo
impl Send for TerminalInfo
impl Sync for TerminalInfo
impl Unpin for TerminalInfo
impl UnsafeUnpin for TerminalInfo
impl UnwindSafe for TerminalInfo
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