Struct atom_syndication::EntryBuilder
source · pub struct EntryBuilder { /* private fields */ }
Expand description
Builder for Entry
.
Implementations§
source§impl EntryBuilder
impl EntryBuilder
sourcepub fn title<VALUE: Into<Text>>(&mut self, value: VALUE) -> &mut Self
pub fn title<VALUE: Into<Text>>(&mut self, value: VALUE) -> &mut Self
A human-readable title for the entry.
sourcepub fn id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
A universally unique and permanent URI.
sourcepub fn updated<VALUE: Into<FixedDateTime>>(&mut self, value: VALUE) -> &mut Self
pub fn updated<VALUE: Into<FixedDateTime>>(&mut self, value: VALUE) -> &mut Self
The last time the entry was modified.
The authors of the feed.
The authors of the feed.
sourcepub fn categories<VALUE: Into<Vec<Category>>>(
&mut self,
value: VALUE
) -> &mut Self
pub fn categories<VALUE: Into<Vec<Category>>>( &mut self, value: VALUE ) -> &mut Self
The categories that the entry belongs to.
sourcepub fn category<VALUE>(&mut self, item: VALUE) -> &mut Self
pub fn category<VALUE>(&mut self, item: VALUE) -> &mut Self
The categories that the entry belongs to.
sourcepub fn contributors<VALUE: Into<Vec<Person>>>(
&mut self,
value: VALUE
) -> &mut Self
pub fn contributors<VALUE: Into<Vec<Person>>>( &mut self, value: VALUE ) -> &mut Self
The contributors to the entry.
sourcepub fn contributor<VALUE>(&mut self, item: VALUE) -> &mut Self
pub fn contributor<VALUE>(&mut self, item: VALUE) -> &mut Self
The contributors to the entry.
sourcepub fn links<VALUE: Into<Vec<Link>>>(&mut self, value: VALUE) -> &mut Self
pub fn links<VALUE: Into<Vec<Link>>>(&mut self, value: VALUE) -> &mut Self
The Web pages related to the entry.
sourcepub fn published<VALUE: Into<Option<FixedDateTime>>>(
&mut self,
value: VALUE
) -> &mut Self
pub fn published<VALUE: Into<Option<FixedDateTime>>>( &mut self, value: VALUE ) -> &mut Self
The time of the initial creation or first availability of the entry.
sourcepub fn rights<VALUE: Into<Option<Text>>>(&mut self, value: VALUE) -> &mut Self
pub fn rights<VALUE: Into<Option<Text>>>(&mut self, value: VALUE) -> &mut Self
Information about rights held in and over the entry.
sourcepub fn source<VALUE: Into<Option<Source>>>(&mut self, value: VALUE) -> &mut Self
pub fn source<VALUE: Into<Option<Source>>>(&mut self, value: VALUE) -> &mut Self
The source information if an entry is copied from one feed into another feed.
sourcepub fn summary<VALUE: Into<Option<Text>>>(&mut self, value: VALUE) -> &mut Self
pub fn summary<VALUE: Into<Option<Text>>>(&mut self, value: VALUE) -> &mut Self
A short summary, abstract, or excerpt of the entry.
sourcepub fn content<VALUE: Into<Option<Content>>>(
&mut self,
value: VALUE
) -> &mut Self
pub fn content<VALUE: Into<Option<Content>>>( &mut self, value: VALUE ) -> &mut Self
Contains or links to the complete content of the entry.
sourcepub fn extensions<VALUE: Into<ExtensionMap>>(
&mut self,
value: VALUE
) -> &mut Self
pub fn extensions<VALUE: Into<ExtensionMap>>( &mut self, value: VALUE ) -> &mut Self
The extensions for this entry.
Trait Implementations§
source§impl Clone for EntryBuilder
impl Clone for EntryBuilder
source§fn clone(&self) -> EntryBuilder
fn clone(&self) -> EntryBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for EntryBuilder
impl RefUnwindSafe for EntryBuilder
impl Send for EntryBuilder
impl Sync for EntryBuilder
impl Unpin for EntryBuilder
impl UnwindSafe for EntryBuilder
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