pub struct PaneOpenRequest {
pub view: String,
pub file: Option<String>,
pub url: Option<String>,
pub cwd: Option<String>,
pub title: Option<String>,
pub tab_id: Option<String>,
pub split_direction: Option<String>,
pub split_reference_block_id: Option<String>,
pub focus: Option<bool>,
pub tree_expanded: Option<bool>,
pub floating: Option<bool>,
}Expand description
POST /api/v1/pane/open — open a new pane.
Structurally equivalent to rpc_types::CommandPaneOpenData (same wire
fields) so the two are interchangeable on the wire; srv deserializes into
CommandPaneOpenData, mcp serializes from this type.
Fields§
§view: String§file: Option<String>§url: Option<String>§cwd: Option<String>§title: Option<String>§tab_id: Option<String>§split_direction: Option<String>§split_reference_block_id: Option<String>§focus: Option<bool>§tree_expanded: Option<bool>§floating: Option<bool>Trait Implementations§
Source§impl Clone for PaneOpenRequest
impl Clone for PaneOpenRequest
Source§fn clone(&self) -> PaneOpenRequest
fn clone(&self) -> PaneOpenRequest
Returns a duplicate of the value. Read more
1.0.0 · 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 PaneOpenRequest
impl Debug for PaneOpenRequest
Source§impl<'de> Deserialize<'de> for PaneOpenRequest
impl<'de> Deserialize<'de> for PaneOpenRequest
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 PaneOpenRequest
impl RefUnwindSafe for PaneOpenRequest
impl Send for PaneOpenRequest
impl Sync for PaneOpenRequest
impl Unpin for PaneOpenRequest
impl UnwindSafe for PaneOpenRequest
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