pub struct ParserConfig {
pub custom_handlers: Vec<Arc<dyn ElementHandler>>,
}
Expand description
Configuration options for the RSS parser.
The ParserConfig
struct allows for customization of the RSS parser by
including custom handlers for specific elements.
Fields§
§custom_handlers: Vec<Arc<dyn ElementHandler>>
A vector of custom handlers that will process specific RSS elements.
Each handler implements the ElementHandler
trait and is wrapped in
an Arc
to allow shared ownership across threads.
Trait Implementations§
Source§impl Default for ParserConfig
impl Default for ParserConfig
Source§fn default() -> ParserConfig
fn default() -> ParserConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ParserConfig
impl !RefUnwindSafe for ParserConfig
impl Send for ParserConfig
impl Sync for ParserConfig
impl Unpin for ParserConfig
impl !UnwindSafe for ParserConfig
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