pub struct PanePlaceRequest {
pub op: String,
pub target_id: String,
pub place: PlaceArgs,
pub split: Option<String>,
pub block_id: Option<String>,
}Expand description
POST /api/v1/pane/place — resize, move, place, dock or float a pane the caller opened
(docs/specs/SPEC_AGENT_PANE_PLACEMENT_FLOATING_2026_11_22.md §2.2).
Fields§
§op: Stringresize (width and/or height), move (spot, or x and y), place (any of them, in one call), dock
(a floating pane back into a tab), float (a docked pane into its own window; the placement as an open takes it),
pin (a docked pane stays on screen in every tab of its window) or unpin.
target_id: StringThe pane to act on: a block id from Pane layout, one the caller opened.
place: PlaceArgs§split: Option<String>dock: put the pane beside the caller’s own pane (right, left, down, up); absent, where it came from.
block_id: Option<String>The caller’s own pane: dock goes into its tab, float is shown from its window.
Trait Implementations§
Source§impl Clone for PanePlaceRequest
impl Clone for PanePlaceRequest
Source§fn clone(&self) -> PanePlaceRequest
fn clone(&self) -> PanePlaceRequest
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 PanePlaceRequest
impl Debug for PanePlaceRequest
Source§impl<'de> Deserialize<'de> for PanePlaceRequest
impl<'de> Deserialize<'de> for PanePlaceRequest
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 PanePlaceRequest
impl RefUnwindSafe for PanePlaceRequest
impl Send for PanePlaceRequest
impl Sync for PanePlaceRequest
impl Unpin for PanePlaceRequest
impl UnsafeUnpin for PanePlaceRequest
impl UnwindSafe for PanePlaceRequest
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