Struct rss::SourceBuilder
[−]
[src]
pub struct SourceBuilder { /* fields omitted */ }
Builder for Source
.
Methods
impl SourceBuilder
[src]
fn url<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
[src]
The URL of the source.
fn title<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self
[src]
The title of the source.
fn build(&self) -> Result<Source, String>
[src]
Trait Implementations
impl Default for SourceBuilder
[src]
fn default() -> SourceBuilder
[src]
Returns the "default value" for a type. Read more
impl Clone for SourceBuilder
[src]
fn clone(&self) -> SourceBuilder
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more