pub struct AtomFeedBuilder<I, T, U> { /* private fields */ }Available on crate feature
rss only.Expand description
Implementations§
Source§impl<T, U> AtomFeedBuilder<Missing, T, U>
impl<T, U> AtomFeedBuilder<Missing, T, U>
pub fn id(self, id: Uri) -> AtomFeedBuilder<Present, T, U>
Source§impl<I, U> AtomFeedBuilder<I, Missing, U>
impl<I, U> AtomFeedBuilder<I, Missing, U>
pub fn title(self, title: impl Into<AtomText>) -> AtomFeedBuilder<I, Present, U>
Source§impl<I, T> AtomFeedBuilder<I, T, Missing>
impl<I, T> AtomFeedBuilder<I, T, Missing>
pub fn updated(self, ts: Timestamp) -> AtomFeedBuilder<I, T, Present>
Source§impl<I, T, U> AtomFeedBuilder<I, T, U>
impl<I, T, U> AtomFeedBuilder<I, T, U>
Append a feed-level author. Call multiple times to add more.
Append a feed-level author. Call multiple times to add more.
Sourcepub fn with_link(self, link: AtomLink) -> Self
pub fn with_link(self, link: AtomLink) -> Self
Append a feed-level <link>. Call multiple times to add more.
Sourcepub fn set_link(&mut self, link: AtomLink) -> &mut Self
pub fn set_link(&mut self, link: AtomLink) -> &mut Self
Append a feed-level <link>. Call multiple times to add more.
Sourcepub fn with_category(self, cat: AtomCategory) -> Self
pub fn with_category(self, cat: AtomCategory) -> Self
Append a feed-level category. Call multiple times to add more.
Sourcepub fn set_category(&mut self, cat: AtomCategory) -> &mut Self
pub fn set_category(&mut self, cat: AtomCategory) -> &mut Self
Append a feed-level category. Call multiple times to add more.
Sourcepub fn with_contributor(self, c: AtomPerson) -> Self
pub fn with_contributor(self, c: AtomPerson) -> Self
Append a feed-level contributor. Call multiple times to add more.
Sourcepub fn set_contributor(&mut self, c: AtomPerson) -> &mut Self
pub fn set_contributor(&mut self, c: AtomPerson) -> &mut Self
Append a feed-level contributor. Call multiple times to add more.
pub fn with_generator(self, generator: AtomGenerator) -> Self
pub fn set_generator(&mut self, generator: AtomGenerator) -> &mut Self
pub fn with_icon(self, icon: Uri) -> Self
pub fn set_icon(&mut self, icon: Uri) -> &mut Self
pub fn with_logo(self, logo: Uri) -> Self
pub fn set_logo(&mut self, logo: Uri) -> &mut Self
pub fn with_rights(self, rights: impl Into<AtomText>) -> Self
pub fn set_rights(&mut self, rights: impl Into<AtomText>) -> &mut Self
pub fn with_subtitle(self, subtitle: impl Into<AtomText>) -> Self
pub fn set_subtitle(&mut self, subtitle: impl Into<AtomText>) -> &mut Self
Sourcepub fn with_entry(self, entry: AtomEntry) -> Self
pub fn with_entry(self, entry: AtomEntry) -> Self
Append a single entry. Call multiple times to attach more.
Sourcepub fn set_entry(&mut self, entry: AtomEntry) -> &mut Self
pub fn set_entry(&mut self, entry: AtomEntry) -> &mut Self
Append a single entry. Call multiple times to attach more.
pub fn with_entries(self, entries: impl IntoIterator<Item = AtomEntry>) -> Self
pub fn set_entries( &mut self, entries: impl IntoIterator<Item = AtomEntry>, ) -> &mut Self
pub fn with_feed_extensions(self, ext: FeedExtensions) -> Self
pub fn set_feed_extensions(&mut self, ext: FeedExtensions) -> &mut Self
Auto Trait Implementations§
impl<I, T, U> Freeze for AtomFeedBuilder<I, T, U>
impl<I, T, U> RefUnwindSafe for AtomFeedBuilder<I, T, U>
impl<I, T, U> Send for AtomFeedBuilder<I, T, U>
impl<I, T, U> Sync for AtomFeedBuilder<I, T, U>
impl<I, T, U> Unpin for AtomFeedBuilder<I, T, U>
impl<I, T, U> UnsafeUnpin for AtomFeedBuilder<I, T, U>
impl<I, T, U> UnwindSafe for AtomFeedBuilder<I, T, U>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more