pub struct RollbackSummary {Show 14 fields
pub total_operations: usize,
pub node_insert_count: u32,
pub node_update_count: u32,
pub node_delete_count: u32,
pub string_insert_count: u32,
pub header_update_count: u32,
pub edge_insert_count: u32,
pub edge_update_count: u32,
pub edge_delete_count: u32,
pub cluster_create_count: u32,
pub free_space_allocate_count: u32,
pub free_space_deallocate_count: u32,
pub kv_set_count: u32,
pub kv_delete_count: u32,
}Expand description
Summary of pending rollback operations
Fields§
§total_operations: usize§node_insert_count: u32§node_update_count: u32§node_delete_count: u32§string_insert_count: u32§header_update_count: u32§edge_insert_count: u32§edge_update_count: u32§edge_delete_count: u32§cluster_create_count: u32§free_space_allocate_count: u32§free_space_deallocate_count: u32§kv_set_count: u32§kv_delete_count: u32Implementations§
Source§impl RollbackSummary
impl RollbackSummary
Sourcepub fn has_node_operations(&self) -> bool
pub fn has_node_operations(&self) -> bool
Check if there are any node operations to rollback
Sourcepub fn has_string_operations(&self) -> bool
pub fn has_string_operations(&self) -> bool
Check if there are any string operations to rollback
Sourcepub fn has_free_space_operations(&self) -> bool
pub fn has_free_space_operations(&self) -> bool
Check if there are any free space operations to rollback
Sourcepub fn has_edge_operations(&self) -> bool
pub fn has_edge_operations(&self) -> bool
Check if there are any edge operations to rollback
Sourcepub fn data_operations_count(&self) -> usize
pub fn data_operations_count(&self) -> usize
Get the total number of data operations (node + string)
Sourcepub fn has_kv_operations(&self) -> bool
pub fn has_kv_operations(&self) -> bool
Check if there are any KV operations to rollback
Trait Implementations§
Source§impl Clone for RollbackSummary
impl Clone for RollbackSummary
Source§fn clone(&self) -> RollbackSummary
fn clone(&self) -> RollbackSummary
Returns a duplicate of the value. Read more
1.0.0 · 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 RollbackSummary
impl Debug for RollbackSummary
Source§impl Default for RollbackSummary
impl Default for RollbackSummary
Source§fn default() -> RollbackSummary
fn default() -> RollbackSummary
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RollbackSummary
impl RefUnwindSafe for RollbackSummary
impl Send for RollbackSummary
impl Sync for RollbackSummary
impl Unpin for RollbackSummary
impl UnwindSafe for RollbackSummary
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,
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