pub enum IdentityAction {
Set(RefCell<Vec<SqlArg>>),
SetInvalid(RefCell<Vec<SqlArg>>),
Refresh,
RefreshInvalid,
RefreshValid,
}
Expand description
The action that TreeIdentity should do
Variants§
Set(RefCell<Vec<SqlArg>>)
Set key to value (primary + dependencies).
Argument needs interior mutability, because keys are taken from Vec
.
SetInvalid(RefCell<Vec<SqlArg>>)
Set only invalid keys to value (primary + dependencies).
Argument needs interior mutability, because keys are taken from Vec
.
Refresh
Refresh all foreign keys, that refer to this entity (merges).
RefreshInvalid
Refresh all invalid foreign keys, that refer to this entity (merges).
RefreshValid
Refresh all valid foreign keys, that refer to this entity (merges).
Auto Trait Implementations§
impl !Freeze for IdentityAction
impl !RefUnwindSafe for IdentityAction
impl Send for IdentityAction
impl !Sync for IdentityAction
impl Unpin for IdentityAction
impl UnwindSafe for IdentityAction
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