pub struct PatchInversePlan {
pub ref_name: String,
pub target_block_id: ObjectId,
pub block_count: usize,
pub patch_count: usize,
pub original_operation_count: usize,
pub inverse_operation_count: usize,
pub inverse_patch_id_hint: ObjectId,
pub inverse_payload: PatchPayload,
pub operations: Vec<PatchInverseOperationSummary>,
}Expand description
Read-only inverse plan for the supported patch-operation subset.
Fields§
§ref_name: StringRef used as the inverse planning target.
target_block_id: ObjectIdTarget block ID whose supported patch chain was inspected.
block_count: usizeNumber of blocks walked from the root side to the target.
patch_count: usizeNumber of patch objects inspected.
original_operation_count: usizeNumber of original supported operations validated.
inverse_operation_count: usizeNumber of inverse operations generated.
inverse_patch_id_hint: ObjectIdUnsigned inverse Patch object ID hint.
This ID is only a deterministic planning hint for the unsigned payload. It is not a published object, and it is not sufficient authorization for rollback.
inverse_payload: PatchPayloadUnsigned inverse Patch payload.
operations: Vec<PatchInverseOperationSummary>Human-readable summary of inverse operations in application order.
Trait Implementations§
Source§impl Clone for PatchInversePlan
impl Clone for PatchInversePlan
Source§fn clone(&self) -> PatchInversePlan
fn clone(&self) -> PatchInversePlan
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PatchInversePlan
impl Debug for PatchInversePlan
impl Eq for PatchInversePlan
Source§impl PartialEq for PatchInversePlan
impl PartialEq for PatchInversePlan
impl StructuralPartialEq for PatchInversePlan
Auto Trait Implementations§
impl Freeze for PatchInversePlan
impl RefUnwindSafe for PatchInversePlan
impl Send for PatchInversePlan
impl Sync for PatchInversePlan
impl Unpin for PatchInversePlan
impl UnsafeUnpin for PatchInversePlan
impl UnwindSafe for PatchInversePlan
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