Trait hit_data::ReferencePlugin [−][src]
pub trait ReferencePlugin { fn on_before_add_reference(
&mut self,
instance: &mut Hit,
reference_id: &Id,
target: &IndexEntryProperty
) -> Result<(), HitError>; fn on_after_add_reference(
&mut self,
instance: &mut Hit,
reference_id: &Id,
target: &IndexEntryProperty
) -> Result<(), HitError>; fn on_before_remove_reference(
&mut self,
instance: &mut Hit,
reference_id: &Id,
target: &IndexEntryProperty
) -> Result<(), HitError>; fn on_after_remove_reference(
&mut self,
instance: &mut Hit,
reference_id: &Id,
target: &IndexEntryProperty
) -> Result<(), HitError>; }
Required methods
fn on_before_add_reference(
&mut self,
instance: &mut Hit,
reference_id: &Id,
target: &IndexEntryProperty
) -> Result<(), HitError>
[src]
&mut self,
instance: &mut Hit,
reference_id: &Id,
target: &IndexEntryProperty
) -> Result<(), HitError>
fn on_after_add_reference(
&mut self,
instance: &mut Hit,
reference_id: &Id,
target: &IndexEntryProperty
) -> Result<(), HitError>
[src]
&mut self,
instance: &mut Hit,
reference_id: &Id,
target: &IndexEntryProperty
) -> Result<(), HitError>
fn on_before_remove_reference(
&mut self,
instance: &mut Hit,
reference_id: &Id,
target: &IndexEntryProperty
) -> Result<(), HitError>
[src]
&mut self,
instance: &mut Hit,
reference_id: &Id,
target: &IndexEntryProperty
) -> Result<(), HitError>
fn on_after_remove_reference(
&mut self,
instance: &mut Hit,
reference_id: &Id,
target: &IndexEntryProperty
) -> Result<(), HitError>
[src]
&mut self,
instance: &mut Hit,
reference_id: &Id,
target: &IndexEntryProperty
) -> Result<(), HitError>