pub struct UndoPlanItem {
pub key: String,
pub expected_latest_version_id: String,
pub action: UndoAction,
}Expand description
One object mutation together with the current-version precondition observed during planning.
Fields§
§key: StringObject key within the bucket.
expected_latest_version_id: StringVersion that must still be current immediately before execution.
action: UndoActionHistory-preserving action to perform.
Trait Implementations§
Source§impl Clone for UndoPlanItem
impl Clone for UndoPlanItem
Source§fn clone(&self) -> UndoPlanItem
fn clone(&self) -> UndoPlanItem
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 UndoPlanItem
impl Debug for UndoPlanItem
Source§impl<'de> Deserialize<'de> for UndoPlanItem
impl<'de> Deserialize<'de> for UndoPlanItem
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
impl Eq for UndoPlanItem
Source§impl PartialEq for UndoPlanItem
impl PartialEq for UndoPlanItem
Source§impl Serialize for UndoPlanItem
impl Serialize for UndoPlanItem
impl StructuralPartialEq for UndoPlanItem
Auto Trait Implementations§
impl Freeze for UndoPlanItem
impl RefUnwindSafe for UndoPlanItem
impl Send for UndoPlanItem
impl Sync for UndoPlanItem
impl Unpin for UndoPlanItem
impl UnsafeUnpin for UndoPlanItem
impl UnwindSafe for UndoPlanItem
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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