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 Forget for DeleteOp
impl Freeze for DeleteOpwhere
*const EntityRecord is !null: Freeze,
PhantomData<EntityRecord>: Freeze,
*const Note is !null: Freeze,
PhantomData<Note>: Freeze,
*const Link is !null: Freeze,
PhantomData<Link>: Freeze,
impl Move for DeleteOp
impl RefUnwindSafe for DeleteOp
impl Send for DeleteOp
impl Sync for DeleteOp
impl Unpin for DeleteOp
impl UnsafeUnpin for DeleteOpwhere
*const EntityRecord is !null: UnsafeUnpin,
PhantomData<EntityRecord>: UnsafeUnpin,
*const Note is !null: UnsafeUnpin,
PhantomData<Note>: UnsafeUnpin,
*const Link is !null: UnsafeUnpin,
PhantomData<Link>: UnsafeUnpin,
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