pub struct TerminalInputAction {
pub data: String,
}Expand description
Keyboard input sent to the terminal process (client → pty direction).
This is a side-effect-only action: the server forwards the data to the
terminal’s pty. The reducer treats this as a no-op since terminal/data
actions will reflect any resulting output.
See terminal/data for why these two actions are kept separate.
Fields§
§data: StringInput data to send to the pty
Trait Implementations§
Source§impl Clone for TerminalInputAction
impl Clone for TerminalInputAction
Source§fn clone(&self) -> TerminalInputAction
fn clone(&self) -> TerminalInputAction
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 TerminalInputAction
impl Debug for TerminalInputAction
Source§impl<'de> Deserialize<'de> for TerminalInputAction
impl<'de> Deserialize<'de> for TerminalInputAction
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 TerminalInputAction
impl PartialEq for TerminalInputAction
Source§fn eq(&self, other: &TerminalInputAction) -> bool
fn eq(&self, other: &TerminalInputAction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TerminalInputAction
impl Serialize for TerminalInputAction
impl StructuralPartialEq for TerminalInputAction
Auto Trait Implementations§
impl Freeze for TerminalInputAction
impl RefUnwindSafe for TerminalInputAction
impl Send for TerminalInputAction
impl Sync for TerminalInputAction
impl Unpin for TerminalInputAction
impl UnsafeUnpin for TerminalInputAction
impl UnwindSafe for TerminalInputAction
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