pub struct Footprint {Show 13 fields
pub executed: u64,
pub param_bytes: u64,
pub rolls_back: bool,
pub log_full: bool,
pub sheets: Vec<SheetFootprint>,
pub sheets_added: Vec<String>,
pub sheets_removed: Vec<String>,
pub objects_added: usize,
pub objects_changed: usize,
pub objects_removed: usize,
pub partial: Option<Value>,
pub error: Option<StepError>,
pub stopped: Option<String>,
}Expand description
What a macro would change, from a dry run on the real workbook.
Fields§
§executed: u64Steps executed and bytes of parameters passed by the end of the dry run that made this footprint (the run’s one budget).
param_bytes: u64§rolls_back: boolThe Stop step that ended the dry run asks for the run to be rolled back.
log_full: boolThe dry run wrote more cells than the touch log keeps, so writes that kept a cell’s value
may be missing from cells: a shift cannot trust the block.
sheets: Vec<SheetFootprint>§sheets_added: Vec<String>§sheets_removed: Vec<String>§objects_added: usize§objects_changed: usize§objects_removed: usize§partial: Option<Value>The dry run stopped early before this step; later steps aren’t in the footprint.
error: Option<StepError>The step the run would fail at.
stopped: Option<String>A Stop step’s message.
Implementations§
Source§impl Footprint
impl Footprint
Sourcepub fn conflict_count(&self) -> usize
pub fn conflict_count(&self) -> usize
Cells that hold data and would be written, plus sheets and objects that would go.
Sourcepub fn describe_conflicts(&self) -> String
pub fn describe_conflicts(&self) -> String
“C2:C9 on Sheet1, the sheet Old, 2 objects”.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Footprint
impl RefUnwindSafe for Footprint
impl Send for Footprint
impl Sync for Footprint
impl Unpin for Footprint
impl UnsafeUnpin for Footprint
impl UnwindSafe for Footprint
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