pub enum RelationshipHookMode {
Run,
RunIfNotLinked,
Skip,
}Expand description
Configures the conditions under which the Relationship insert/replace hooks will be run.
Variants§
Run
Relationship insert/replace hooks will always run
RunIfNotLinked
Relationship insert/replace hooks will run if RelationshipTarget::LINKED_SPAWN is false
Skip
Relationship insert/replace hooks will always be skipped
Trait Implementations§
Source§impl Clone for RelationshipHookMode
impl Clone for RelationshipHookMode
Source§fn clone(&self) -> RelationshipHookMode
fn clone(&self) -> RelationshipHookMode
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 RelationshipHookMode
impl Debug for RelationshipHookMode
impl Copy for RelationshipHookMode
Auto Trait Implementations§
impl Freeze for RelationshipHookMode
impl RefUnwindSafe for RelationshipHookMode
impl Send for RelationshipHookMode
impl Sync for RelationshipHookMode
impl Unpin for RelationshipHookMode
impl UnwindSafe for RelationshipHookMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
Source§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.