pub struct WorkspaceWriteOutput {
pub path: String,
pub created: bool,
pub overwritten: bool,
pub before_hash: Option<String>,
pub after_hash: String,
pub non_reversible_reason: Option<String>,
}Expand description
Workspace workspace write 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.
created: boolWhether created is enabled. Policy, validation, or routing code uses this flag to choose the explicit behavior.
overwritten: boolWhether overwritten is enabled. Policy, validation, or routing code uses this flag to choose the explicit behavior.
before_hash: Option<String>Deterministic 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.
non_reversible_reason: Option<String>Optional non reversible reason value. When absent, callers should use the documented default or skip that optional behavior.
Trait Implementations§
Source§impl Clone for WorkspaceWriteOutput
impl Clone for WorkspaceWriteOutput
Source§fn clone(&self) -> WorkspaceWriteOutput
fn clone(&self) -> WorkspaceWriteOutput
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 WorkspaceWriteOutput
impl Debug for WorkspaceWriteOutput
Source§impl<'de> Deserialize<'de> for WorkspaceWriteOutput
impl<'de> Deserialize<'de> for WorkspaceWriteOutput
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 WorkspaceWriteOutput
impl PartialEq for WorkspaceWriteOutput
Source§fn eq(&self, other: &WorkspaceWriteOutput) -> bool
fn eq(&self, other: &WorkspaceWriteOutput) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for WorkspaceWriteOutput
impl Serialize for WorkspaceWriteOutput
impl Eq for WorkspaceWriteOutput
impl StructuralPartialEq for WorkspaceWriteOutput
Auto Trait Implementations§
impl Freeze for WorkspaceWriteOutput
impl RefUnwindSafe for WorkspaceWriteOutput
impl Send for WorkspaceWriteOutput
impl Sync for WorkspaceWriteOutput
impl Unpin for WorkspaceWriteOutput
impl UnsafeUnpin for WorkspaceWriteOutput
impl UnwindSafe for WorkspaceWriteOutput
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.