pub struct HistoryStep {
pub op: HistoryOp,
pub steps: u32,
pub of: Option<Box<Described>>,
pub undoes: Option<String>,
pub verb: String,
}Expand description
A step through history itself.
Fields§
§op: HistoryOp§steps: u32How many steps it took back or brought back.
of: Option<Box<Described>>What it took back or brought back, when it was one step.
undoes: Option<String>The invocation it took back or brought back, when it moved one: each change of an undo moves one invocation, so whoever admits it reads one invocation per change.
verb: StringThe verb of that invocation, as it was invoked.
Trait Implementations§
Source§impl Clone for HistoryStep
impl Clone for HistoryStep
Source§impl Debug for HistoryStep
impl Debug for HistoryStep
Source§impl<'de> Deserialize<'de> for HistoryStep
impl<'de> Deserialize<'de> for HistoryStep
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 HistoryStep
Source§impl PartialEq for HistoryStep
impl PartialEq for HistoryStep
Source§impl Serialize for HistoryStep
impl Serialize for HistoryStep
impl StructuralPartialEq for HistoryStep
Auto Trait Implementations§
impl Forget for HistoryStep
impl Freeze for HistoryStep
impl Move for HistoryStep
impl RefUnwindSafe for HistoryStep
impl Send for HistoryStep
impl Sync for HistoryStep
impl Unpin for HistoryStep
impl UnsafeUnpin for HistoryStep
impl UnwindSafe for HistoryStep
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more