pub struct UploadBuilder { /* private fields */ }
Expand description
Builder for Upload
.
Implementations§
Source§impl UploadBuilder
impl UploadBuilder
pub fn protocol<VALUE: Into<UploadProtocol>>( &mut self, value: VALUE, ) -> &mut Self
pub fn filename<VALUE: Into<Option<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn randomizefn<VALUE: Into<Option<bool>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn expire<VALUE: Into<Option<Duration>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn autodestroy<VALUE: Into<Option<bool>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn shorturl<VALUE: Into<Option<bool>>>(&mut self, value: VALUE) -> &mut Self
Trait Implementations§
Source§impl Clone for UploadBuilder
impl Clone for UploadBuilder
Source§fn clone(&self) -> UploadBuilder
fn clone(&self) -> UploadBuilder
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 UploadBuilder
impl RefUnwindSafe for UploadBuilder
impl Send for UploadBuilder
impl Sync for UploadBuilder
impl Unpin for UploadBuilder
impl UnwindSafe for UploadBuilder
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