pub struct WorkspaceEditOutput {
pub path: String,
pub preview_only: bool,
pub applied: bool,
pub before_hash: String,
pub after_hash: String,
pub preview_hash: String,
pub diff: String,
pub inverse_candidate: Option<String>,
}Expand description
Workspace workspace edit output request or result value. Creating the value does not touch the filesystem; workspace executors document read, write, edit, or search effects.
Fields§
§path: StringWorkspace-relative or resource path selected by the request or result.
preview_only: boolWhether preview only is enabled. Policy, validation, or routing code uses this flag to choose the explicit behavior.
applied: boolWhether applied is enabled. Policy, validation, or routing code uses this flag to choose the explicit behavior.
before_hash: StringDeterministic before hash used for stale checks, package evidence, or replay comparisons.
after_hash: StringDeterministic after hash used for stale checks, package evidence, or replay comparisons.
preview_hash: StringDeterministic preview hash used for stale checks, package evidence, or replay comparisons.
diff: StringDiff used by this record or request.
inverse_candidate: Option<String>Optional inverse candidate value. When absent, callers should use the documented default or skip that optional behavior.
Trait Implementations§
Source§impl Clone for WorkspaceEditOutput
impl Clone for WorkspaceEditOutput
Source§fn clone(&self) -> WorkspaceEditOutput
fn clone(&self) -> WorkspaceEditOutput
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for WorkspaceEditOutput
impl Debug for WorkspaceEditOutput
Source§impl<'de> Deserialize<'de> for WorkspaceEditOutput
impl<'de> Deserialize<'de> for WorkspaceEditOutput
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>,
Source§impl PartialEq for WorkspaceEditOutput
impl PartialEq for WorkspaceEditOutput
Source§fn eq(&self, other: &WorkspaceEditOutput) -> bool
fn eq(&self, other: &WorkspaceEditOutput) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for WorkspaceEditOutput
impl Serialize for WorkspaceEditOutput
impl Eq for WorkspaceEditOutput
impl StructuralPartialEq for WorkspaceEditOutput
Auto Trait Implementations§
impl Freeze for WorkspaceEditOutput
impl RefUnwindSafe for WorkspaceEditOutput
impl Send for WorkspaceEditOutput
impl Sync for WorkspaceEditOutput
impl Unpin for WorkspaceEditOutput
impl UnsafeUnpin for WorkspaceEditOutput
impl UnwindSafe for WorkspaceEditOutput
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.