/// Represents a file to be uploaded. File contents are held in memory
/// as a vector of bytes. This may not be desireable for very large
/// files...
#[derive(Clone)]pubstructFileUpload{pubfilename: String,
pubmimetype: String,
pubbytes:Vec<u8>}implFileUpload{pubfnnew(filename: String, mimetype: String, bytes:Vec<u8>)->Self{Self{filename, mimetype, bytes}}}