Struct atom_syndication::ContentBuilder
source · pub struct ContentBuilder { /* private fields */ }
Expand description
Builder for Content
.
Implementations§
source§impl ContentBuilder
impl ContentBuilder
sourcepub fn base<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self
pub fn base<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self
Base URL for resolving any relative references found in the element.
sourcepub fn lang<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self
pub fn lang<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self
Indicates the natural language for the element.
sourcepub fn value<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self
pub fn value<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self
The text value of the content.
Trait Implementations§
source§impl Clone for ContentBuilder
impl Clone for ContentBuilder
source§fn clone(&self) -> ContentBuilder
fn clone(&self) -> ContentBuilder
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 ContentBuilder
impl RefUnwindSafe for ContentBuilder
impl Send for ContentBuilder
impl Sync for ContentBuilder
impl Unpin for ContentBuilder
impl UnwindSafe for ContentBuilder
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