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>,
}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.
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