Struct rss::EnclosureBuilder
source · pub struct EnclosureBuilder { /* private fields */ }
Expand description
Builder for Enclosure
.
Implementations
sourceimpl EnclosureBuilder
impl EnclosureBuilder
sourcepub fn url<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn url<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
The URL of the enclosure.
sourcepub fn length<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn length<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
The length of the enclosure in bytes.
Trait Implementations
sourceimpl Clone for EnclosureBuilder
impl Clone for EnclosureBuilder
sourcefn clone(&self) -> EnclosureBuilder
fn clone(&self) -> EnclosureBuilder
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Default for EnclosureBuilder
impl Default for EnclosureBuilder
sourcefn default() -> EnclosureBuilder
fn default() -> EnclosureBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for EnclosureBuilder
impl Send for EnclosureBuilder
impl Sync for EnclosureBuilder
impl Unpin for EnclosureBuilder
impl UnwindSafe for EnclosureBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more