pub struct StructuralPatch { /* private fields */ }Expand description
StructuralPatch
StructuralPatch is the ordered structural field patch applied by structural
write lanes before persisted-row slot serialization.
It carries caller/runtime Value payloads only; insert, update, and replace
semantics remain owned by MutationMode, not by the patch container.
Implementations§
Source§impl StructuralPatch
impl StructuralPatch
Sourcepub fn set_field(
self,
model: &'static EntityModel,
field_name: &str,
value: Value,
) -> Result<Self, InternalError>
pub fn set_field( self, model: &'static EntityModel, field_name: &str, value: Value, ) -> Result<Self, InternalError>
Resolve one field name and append its structural update.
Trait Implementations§
Source§impl Clone for StructuralPatch
impl Clone for StructuralPatch
Source§fn clone(&self) -> StructuralPatch
fn clone(&self) -> StructuralPatch
Returns a duplicate of the value. Read more
1.0.0 · 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 StructuralPatch
impl Debug for StructuralPatch
Source§impl Default for StructuralPatch
impl Default for StructuralPatch
Source§fn default() -> StructuralPatch
fn default() -> StructuralPatch
Returns the “default value” for a type. Read more
Source§impl PartialEq for StructuralPatch
impl PartialEq for StructuralPatch
impl Eq for StructuralPatch
impl StructuralPartialEq for StructuralPatch
Auto Trait Implementations§
impl Freeze for StructuralPatch
impl RefUnwindSafe for StructuralPatch
impl Send for StructuralPatch
impl Sync for StructuralPatch
impl Unpin for StructuralPatch
impl UnsafeUnpin for StructuralPatch
impl UnwindSafe for StructuralPatch
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