pub enum Action {
Show 25 variants
CreateSession {
name: String,
},
DeleteSession {
session_id: String,
},
SaveSession {
session_id: String,
name: Option<String>,
},
CreatePane {
session_id: String,
pane_type: PaneType,
command: Option<String>,
shell_type: Option<ShellType>,
name: Option<String>,
},
ClosePane {
pane_id: String,
},
ResizePane {
pane_id: String,
width: u32,
height: u32,
},
RenamePane {
pane_id: String,
name: String,
},
CreateFile {
path: String,
content: Option<String>,
},
OpenFile {
path: String,
},
CreateDirectory {
path: String,
},
DeletePath {
path: String,
permanent: bool,
},
RenamePath {
old_path: String,
new_name: String,
},
CopyPath {
source: String,
destination: String,
},
MovePath {
source: String,
destination: String,
},
MoveFiles {
files: Vec<String>,
destination: String,
},
CopyFiles {
files: Vec<String>,
destination: String,
},
GetFileTree {
path: Option<String>,
max_depth: Option<u32>,
},
SearchFiles {
pattern: String,
path: Option<String>,
},
SearchProject {
pattern: String,
options: Value,
},
SearchInFile {
file_path: String,
pattern: String,
},
SendKeys {
pane_id: String,
keys: String,
},
RunCommand {
pane_id: String,
command: String,
},
GetPaneOutput {
pane_id: String,
lines: Option<u32>,
},
LoadPlugin {
id: String,
config: Value,
},
UnloadPlugin {
id: String,
},
}
Variants§
CreateSession
DeleteSession
SaveSession
CreatePane
Fields
ClosePane
ResizePane
RenamePane
CreateFile
OpenFile
CreateDirectory
DeletePath
RenamePath
CopyPath
MovePath
MoveFiles
CopyFiles
GetFileTree
SearchFiles
SearchProject
SearchInFile
SendKeys
RunCommand
GetPaneOutput
LoadPlugin
UnloadPlugin
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Action
impl<'de> Deserialize<'de> for Action
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
Auto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnwindSafe for Action
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