pub struct MutationBuilder { /* private fields */ }Expand description
Builder for creating mutations from intake events
Implementations§
Source§impl MutationBuilder
impl MutationBuilder
Sourcepub fn build(
&self,
event: &IntakeEvent,
signals: &[ExtractedSignal],
) -> IntakeMutation
pub fn build( &self, event: &IntakeEvent, signals: &[ExtractedSignal], ) -> IntakeMutation
Build a mutation from an intake event and extracted signals
Sourcepub fn build_batch(
&self,
events: &[IntakeEvent],
signals_map: &[Vec<ExtractedSignal>],
) -> Vec<IntakeMutation>
pub fn build_batch( &self, events: &[IntakeEvent], signals_map: &[Vec<ExtractedSignal>], ) -> Vec<IntakeMutation>
Build mutations from multiple events
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MutationBuilder
impl RefUnwindSafe for MutationBuilder
impl Send for MutationBuilder
impl Sync for MutationBuilder
impl Unpin for MutationBuilder
impl UnsafeUnpin for MutationBuilder
impl UnwindSafe for MutationBuilder
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