pub struct DeleteOp {
pub target_id: Id128,
pub hard: bool,
pub preimage: DeletePreimage,
}Expand description
Removes one record with its required, full stage-time preimage.
Deserialization requires target_id to equal the embedded record ID.
See crates/khive-changeset/docs/api/delete-and-merge.md for strictness rules.
Fields§
§target_id: Id128§hard: bool§preimage: DeletePreimageTrait Implementations§
Source§impl<'de> Deserialize<'de> for DeleteOp
impl<'de> Deserialize<'de> for DeleteOp
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 DeleteOp
impl RefUnwindSafe for DeleteOp
impl Send for DeleteOp
impl Sync for DeleteOp
impl Unpin for DeleteOp
impl UnsafeUnpin for DeleteOp
impl UnwindSafe for DeleteOp
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