Struct mongodb_gridfs::options::GridFSUploadOptions
source · pub struct GridFSUploadOptions { /* private fields */ }Expand description
Implementations§
source§impl GridFSUploadOptions
impl GridFSUploadOptions
sourcepub fn builder() -> GridFSUploadOptionsBuilder<((), (), (), (), ())>
pub fn builder() -> GridFSUploadOptionsBuilder<((), (), (), (), ())>
Create a builder for building GridFSUploadOptions.
On the builder, call .chunk_size_bytes(...)(optional), .metadata(...)(optional), .content_type(...)(optional), .aliases(...)(optional), .progress_tick(...)(optional) to set the values of the fields.
Finally, call .build() to create the instance of GridFSUploadOptions.
Trait Implementations§
source§impl Clone for GridFSUploadOptions
impl Clone for GridFSUploadOptions
source§fn clone(&self) -> GridFSUploadOptions
fn clone(&self) -> GridFSUploadOptions
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 moresource§impl Default for GridFSUploadOptions
impl Default for GridFSUploadOptions
source§fn default() -> GridFSUploadOptions
fn default() -> GridFSUploadOptions
Returns the “default value” for a type. Read more