pub struct MockPaneLaunch {
pub id: String,
pub project: String,
pub cwd: String,
pub command: Option<String>,
pub env: Vec<(String, String)>,
pub title: Option<String>,
pub hidden: bool,
pub input: Vec<u8>,
pub screen: Screen,
pub history: Option<Value>,
pub history_queries: Vec<Value>,
pub closed: bool,
}Expand description
One pane the plugin opened (daemon::panes::create), as the host saw
it.
Fields§
§id: StringThe pane’s id, pane-1 onwards; its generation is 1.
project: StringThe project whose root holds cwd.
cwd: String§command: Option<String>§env: Vec<(String, String)>§title: Option<String>The title it asked for (NewPane::title); the plugin’s id shows when
none.
Opened in the sidebar only (NewPane::hidden).
input: Vec<u8>Everything the plugin typed into it, in order.
screen: ScreenWhat panes::screen answers; set it with MockHost::set_pane_screen.
history: Option<Value>The page panes::history answers (an empty page when unset).
history_queries: Vec<Value>The history queries the plugin made, target included.
closed: boolThe plugin closed it.
Trait Implementations§
Source§impl Clone for MockPaneLaunch
impl Clone for MockPaneLaunch
Source§impl Debug for MockPaneLaunch
impl Debug for MockPaneLaunch
impl Eq for MockPaneLaunch
Source§impl PartialEq for MockPaneLaunch
impl PartialEq for MockPaneLaunch
impl StructuralPartialEq for MockPaneLaunch
Auto Trait Implementations§
impl Freeze for MockPaneLaunch
impl RefUnwindSafe for MockPaneLaunch
impl Send for MockPaneLaunch
impl Sync for MockPaneLaunch
impl Unpin for MockPaneLaunch
impl UnsafeUnpin for MockPaneLaunch
impl UnwindSafe for MockPaneLaunch
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