pub struct Version {
pub plan: Plan,
pub approved_by: Option<String>,
pub from: Option<String>,
pub at: Timestamp,
}Expand description
One version of the plan a run followed.
Fields§
§plan: PlanThe plan.
approved_by: Option<String>Who approved it, for a version taken during the run.
from: Option<String>The first step it was followed from, the first that had not ended.
at: TimestampWhen it was taken.
Trait Implementations§
impl StructuralPartialEq for Version
Auto Trait Implementations§
impl Forget for Version
impl Freeze for Versionwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Day>: Freeze,
PhantomData<i64>: Freeze,
PhantomData<String>: Freeze,
PhantomData<Step>: Freeze,
impl Move for Version
impl RefUnwindSafe for Version
impl Send for Version
impl Sync for Version
impl Unpin for Version
impl UnsafeUnpin for Versionwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Day>: UnsafeUnpin,
PhantomData<i64>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<Step>: UnsafeUnpin,
impl UnwindSafe for Versionwhere
RawVecInner: UnwindSafe,
BTreeMap<String, String>: UnwindSafe,
BTreeMap<String, Value>: UnwindSafe,
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