pub enum UpdatePatch {
Entity(EntityPatch),
Note(NotePatch),
Edge(EdgePatch),
}Expand description
Substrate-specific patch tagged by target.
See crates/khive-changeset/docs/api/update.md for field-presence semantics.
Variants§
Trait Implementations§
Source§impl Clone for UpdatePatch
impl Clone for UpdatePatch
Source§fn clone(&self) -> UpdatePatch
fn clone(&self) -> UpdatePatch
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 UpdatePatch
impl Debug for UpdatePatch
Source§impl<'de> Deserialize<'de> for UpdatePatch
impl<'de> Deserialize<'de> for UpdatePatch
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
Source§impl PartialEq for UpdatePatch
impl PartialEq for UpdatePatch
Source§impl Serialize for UpdatePatch
impl Serialize for UpdatePatch
impl StructuralPartialEq for UpdatePatch
Auto Trait Implementations§
impl Freeze for UpdatePatch
impl RefUnwindSafe for UpdatePatch
impl Send for UpdatePatch
impl Sync for UpdatePatch
impl Unpin for UpdatePatch
impl UnsafeUnpin for UpdatePatch
impl UnwindSafe for UpdatePatch
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