pub struct ClosePaneRequest {
pub auth: UiAutomationAuth,
pub block_id: Option<String>,
pub reason: Option<String>,
}Fields§
§auth: UiAutomationAuth§block_id: Option<String>Target pane to close. Omitted = the caller’s own pane (self-only, no ownership check needed — it’s already the caller’s). Present = fleet tier: close ANY pane by block_id, no ownership check on the TARGET either, by design (§5.1) — this is the capability that motivated the whole spec.
reason: Option<String>Optional human-readable reason, threaded into the audit log entry when closing another agent’s pane.
Trait Implementations§
Source§impl Clone for ClosePaneRequest
impl Clone for ClosePaneRequest
Source§fn clone(&self) -> ClosePaneRequest
fn clone(&self) -> ClosePaneRequest
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 ClosePaneRequest
impl Debug for ClosePaneRequest
Source§impl<'de> Deserialize<'de> for ClosePaneRequest
impl<'de> Deserialize<'de> for ClosePaneRequest
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 ClosePaneRequest
impl RefUnwindSafe for ClosePaneRequest
impl Send for ClosePaneRequest
impl Sync for ClosePaneRequest
impl Unpin for ClosePaneRequest
impl UnsafeUnpin for ClosePaneRequest
impl UnwindSafe for ClosePaneRequest
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