pub struct ElementSettings<Context>{
pub max_retries: usize,
pub optional: bool,
pub timeout_ms: Option<u64>,
pub context: Option<Context>,
pub extractor_id: Option<ExtractorId>,
}Expand description
Configuration settings for pattern elements.
Fields§
§max_retries: usizeMaximum number of retries for this element.
optional: boolWhether this element is optional in the pattern.
timeout_ms: Option<u64>Custom timeout for this element.
context: Option<Context>Custom context data for this element.
extractor_id: Option<ExtractorId>Associated extractor ID.
Trait Implementations§
Source§impl<Context> Clone for ElementSettings<Context>
impl<Context> Clone for ElementSettings<Context>
Source§impl<Context> Debug for ElementSettings<Context>
impl<Context> Debug for ElementSettings<Context>
Auto Trait Implementations§
impl<Context> Freeze for ElementSettings<Context>where
Context: Freeze,
impl<Context> RefUnwindSafe for ElementSettings<Context>where
Context: RefUnwindSafe,
impl<Context> Send for ElementSettings<Context>where
Context: Send,
impl<Context> Sync for ElementSettings<Context>where
Context: Sync,
impl<Context> Unpin for ElementSettings<Context>where
Context: Unpin,
impl<Context> UnwindSafe for ElementSettings<Context>where
Context: UnwindSafe,
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