pub struct TurnUndoResult {
pub session_id: String,
pub turn_id: String,
pub undone: bool,
pub files: Vec<TurnUndoFile>,
pub reason: String,
}Expand description
Outcome of a turn undo request.
Fields§
§session_id: StringSession that owns the turn.
turn_id: StringCanonical turn identity.
undone: boolWhether every recorded change was reversed. false carries the
refusal reason; nothing is partially reversed without disclosure.
files: Vec<TurnUndoFile>Reversed changes in recorded order: empty on clean refusals, holding the applied prefix when a later file aborts the flush.
reason: StringRefusal or failure explanation; empty on success.
Trait Implementations§
Source§impl Clone for TurnUndoResult
impl Clone for TurnUndoResult
Source§impl Debug for TurnUndoResult
impl Debug for TurnUndoResult
Source§impl<'de> Deserialize<'de> for TurnUndoResult
impl<'de> Deserialize<'de> for TurnUndoResult
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
impl Eq for TurnUndoResult
Source§impl PartialEq for TurnUndoResult
impl PartialEq for TurnUndoResult
Source§impl Serialize for TurnUndoResult
impl Serialize for TurnUndoResult
impl StructuralPartialEq for TurnUndoResult
Auto Trait Implementations§
impl Forget for TurnUndoResult
impl Freeze for TurnUndoResult
impl RefUnwindSafe for TurnUndoResult
impl Send for TurnUndoResult
impl Sync for TurnUndoResult
impl Unpin for TurnUndoResult
impl UnsafeUnpin for TurnUndoResult
impl UnwindSafe for TurnUndoResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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
Compare self to
key and return true if they are equal.