pub struct Builder { /* private fields */ }
Expand description
Builder to create instances of FeedParser
Implementations§
source§impl Builder
impl Builder
sourcepub fn base_uri<S: AsRef<str>>(self, uri: Option<S>) -> Self
pub fn base_uri<S: AsRef<str>>(self, uri: Option<S>) -> Self
Source of the content, used to resolve relative URLs in XML based feeds
sourcepub fn id_generator<F>(self, generator: F) -> Self
pub fn id_generator<F>(self, generator: F) -> Self
Registers an ID generator
sourcepub fn id_generator_v0_2(self) -> Self
pub fn id_generator_v0_2(self) -> Self
Registers an ID generator compatible with v0.2 of feed-rs
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Builder
impl !RefUnwindSafe for Builder
impl !Send for Builder
impl !Sync for Builder
impl Unpin for Builder
impl !UnwindSafe for Builder
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