pub struct Base64Builder { /* private fields */ }
Expand description
Builder for Base64
.
Implementations§
Source§impl Base64Builder
impl Base64Builder
Sourcepub fn filename<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn filename<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Name of the file before it was encoded as Base64 to be embedded in a resource. This is the name that will be assigned to the file when the file is decoded.
Sourcepub fn media_type<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn media_type<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
A label that indicates the nature of a resource, as a data serialization or format.
pub fn value<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Trait Implementations§
Source§impl Clone for Base64Builder
impl Clone for Base64Builder
Source§fn clone(&self) -> Base64Builder
fn clone(&self) -> Base64Builder
Returns a duplicate 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 Base64Builder
impl RefUnwindSafe for Base64Builder
impl Send for Base64Builder
impl Sync for Base64Builder
impl Unpin for Base64Builder
impl UnwindSafe for Base64Builder
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