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 more