pub struct RollbackResult {
pub success: bool,
pub applied_snapshot_id: Option<Uuid>,
pub nodes_removed: usize,
pub variables_changed: usize,
pub error: Option<String>,
pub rolled_back_at: DateTime<Utc>,
}Expand description
Result of a rollback operation
Fields§
§success: boolWhether rollback was successful
applied_snapshot_id: Option<Uuid>The snapshot that was applied
nodes_removed: usizeNumber of node results removed
variables_changed: usizeNumber of variables changed
error: Option<String>Error message if failed
rolled_back_at: DateTime<Utc>Timestamp of the rollback
Implementations§
Trait Implementations§
Source§impl Clone for RollbackResult
impl Clone for RollbackResult
Source§fn clone(&self) -> RollbackResult
fn clone(&self) -> RollbackResult
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 RollbackResult
impl Debug for RollbackResult
Source§impl<'de> Deserialize<'de> for RollbackResult
impl<'de> Deserialize<'de> for RollbackResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RollbackResult
impl RefUnwindSafe for RollbackResult
impl Send for RollbackResult
impl Sync for RollbackResult
impl Unpin for RollbackResult
impl UnwindSafe for RollbackResult
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