#[non_exhaustive]pub struct Restored<O> {
pub stored: O,
pub baseline: Map<String, Value>,
}Expand description
What ObjectHistoryBackend::restore_object returns.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.stored: OThe object as stored after the restore.
baseline: Map<String, Value>The final version with the patch applied, as JSON: restored
reports the properties of stored that differ
from it (§5.1).
Implementations§
Trait Implementations§
impl<O: PartialEq> StructuralPartialEq for Restored<O>
Auto Trait Implementations§
impl<O> Forget for Restored<O>
impl<O> Freeze for Restored<O>where
O: Freeze,
impl<O> Move for Restored<O>
impl<O> RefUnwindSafe for Restored<O>where
O: RefUnwindSafe,
impl<O> Send for Restored<O>where
O: Send,
impl<O> Sync for Restored<O>where
O: Sync,
impl<O> Unpin for Restored<O>where
O: Unpin,
impl<O> UnsafeUnpin for Restored<O>where
O: UnsafeUnpin,
impl<O> UnwindSafe for Restored<O>where
O: UnwindSafe,
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