Struct hit_data::ModelTypeIndexer
source · pub struct ModelTypeIndexer { /* private fields */ }
Implementations§
Trait Implementations§
source§impl DeletePlugin for ModelTypeIndexer
impl DeletePlugin for ModelTypeIndexer
source§impl InitEntryPlugin for ModelTypeIndexer
impl InitEntryPlugin for ModelTypeIndexer
fn on_init_add_entry( &mut self, model: Rc<Model>, id: &str, _data: ObjectValues, _parent: Option<IndexEntryProperty> )
source§impl Plugin for ModelTypeIndexer
impl Plugin for ModelTypeIndexer
fn on_before_add_entry( &mut self, _model: Rc<Model>, _id: &str, _data: ObjectValues, _parent: IndexEntryProperty, _before_id: &Option<Id>, _instance: &Hit ) -> Result<(), HitError>
fn on_after_add_entry( &mut self, model: Rc<Model>, id: &str, _data: ObjectValues, _parent: IndexEntryProperty, _before_id: &Option<Id>, _instance: &mut Hit ) -> Result<(), HitError>
fn on_after_set_value( &mut self, _property: IndexEntryProperty, _value: &ObjectValue, _old_value: &Option<ObjectValue>, _instance: &mut Hit ) -> Result<(), HitError>
fn on_before_set_value( &mut self, _property: IndexEntryProperty, _value: &ObjectValue, _old_value: &Option<ObjectValue>, _instance: &Hit ) -> Result<(), HitError>
fn on_before_move_subobject( &mut self, _id: &str, _target: IndexEntryProperty, _before_id: Option<String>, _instance: &Hit ) -> Result<(), HitError>
fn on_after_move_subobject( &mut self, _id: &str, _target: IndexEntryProperty, _original_parent: IndexEntryProperty, _before_id: Option<String>, _instance: &mut Hit ) -> Result<(), HitError>
Auto Trait Implementations§
impl RefUnwindSafe for ModelTypeIndexer
impl Send for ModelTypeIndexer
impl Sync for ModelTypeIndexer
impl Unpin for ModelTypeIndexer
impl UnwindSafe for ModelTypeIndexer
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