pub enum FieldWriteManagement {
CreatedAt,
UpdatedAt,
}Expand description
FieldWriteManagement
FieldWriteManagement declares whether one runtime field is owned by the write boundary during insert or update synthesis. This keeps auto-managed system fields explicit in schema/runtime metadata instead of relying on literal field names in write paths.
Variants§
CreatedAt
Fill only on insert when the row is first created.
UpdatedAt
Refresh on insert and every update.
Trait Implementations§
Source§impl Clone for FieldWriteManagement
impl Clone for FieldWriteManagement
Source§fn clone(&self) -> FieldWriteManagement
fn clone(&self) -> FieldWriteManagement
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 FieldWriteManagement
impl Debug for FieldWriteManagement
Source§impl PartialEq for FieldWriteManagement
impl PartialEq for FieldWriteManagement
impl Copy for FieldWriteManagement
impl Eq for FieldWriteManagement
impl StructuralPartialEq for FieldWriteManagement
Auto Trait Implementations§
impl Freeze for FieldWriteManagement
impl RefUnwindSafe for FieldWriteManagement
impl Send for FieldWriteManagement
impl Sync for FieldWriteManagement
impl Unpin for FieldWriteManagement
impl UnsafeUnpin for FieldWriteManagement
impl UnwindSafe for FieldWriteManagement
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