pub enum UpdatePreimage {
Entity(EntityPreimage),
Note(NotePreimage),
Edge(EdgePreimage),
}Expand description
The field-scoped preimage for one UpdateOp, tagged by the same
target discriminant UpdatePatch uses so a preimage’s substrate is
self-describing on the wire.
Variants§
Trait Implementations§
Source§impl Clone for UpdatePreimage
impl Clone for UpdatePreimage
Source§fn clone(&self) -> UpdatePreimage
fn clone(&self) -> UpdatePreimage
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 UpdatePreimage
impl Debug for UpdatePreimage
Source§impl<'de> Deserialize<'de> for UpdatePreimage
impl<'de> Deserialize<'de> for UpdatePreimage
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 UpdatePreimage
impl PartialEq for UpdatePreimage
Source§impl Serialize for UpdatePreimage
impl Serialize for UpdatePreimage
impl StructuralPartialEq for UpdatePreimage
Auto Trait Implementations§
impl Freeze for UpdatePreimage
impl RefUnwindSafe for UpdatePreimage
impl Send for UpdatePreimage
impl Sync for UpdatePreimage
impl Unpin for UpdatePreimage
impl UnsafeUnpin for UpdatePreimage
impl UnwindSafe for UpdatePreimage
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