Enum mongodb::error::GridFsFileIdentifier
source · Expand description
An identifier for a file stored in a GridFS bucket.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Filename(String)
The name of the file. Not guaranteed to be unique.
Id(Bson)
The file’s unique Bson ID.
Trait Implementations§
source§impl Clone for GridFsFileIdentifier
impl Clone for GridFsFileIdentifier
source§fn clone(&self) -> GridFsFileIdentifier
fn clone(&self) -> GridFsFileIdentifier
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 more