pub struct RollbackOptions {
pub run_id: RunId,
pub discard_live_changes: bool,
pub designers: DesignersPolicy,
pub hold: HoldModel,
pub poll: PollConfig,
}Expand description
What a rollback needs besides its context.
Fields§
§run_id: RunIdThe run to roll back (--run). Not this rollback’s own id, which is
generated.
discard_live_changes: bool--discard-live-changes: restore over files changed since the run.
designers: DesignersPolicyWhat to do about open Designer sessions (D-14, D-15).
hold: HoldModelThe hold the lock is requested with.
poll: PollConfigHow the scan wait polls.
Trait Implementations§
Source§impl Clone for RollbackOptions
impl Clone for RollbackOptions
Auto Trait Implementations§
impl Freeze for RollbackOptions
impl RefUnwindSafe for RollbackOptions
impl Send for RollbackOptions
impl Sync for RollbackOptions
impl Unpin for RollbackOptions
impl UnsafeUnpin for RollbackOptions
impl UnwindSafe for RollbackOptions
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