pub struct StructuralPatch { /* private fields */ }Expand description
StructuralPatch
Public structural mutation patch wrapper.
Public callers should construct field-bearing patches through
DbSession::structural_patch(...) so field lookup follows the accepted
persisted schema instead of generated model field order.
Empty patches remain representable for callers that need to explicitly
exercise sparse mutation behavior.
Implementations§
Trait Implementations§
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
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