pub enum UploadResult {
Success {
path: String,
file_id: String,
size: usize,
},
Failure {
path: String,
error: String,
},
}Expand description
Result of a file upload operation
Variants§
Trait Implementations§
Source§impl Clone for UploadResult
impl Clone for UploadResult
Source§fn clone(&self) -> UploadResult
fn clone(&self) -> UploadResult
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 UploadResult
impl RefUnwindSafe for UploadResult
impl Send for UploadResult
impl Sync for UploadResult
impl Unpin for UploadResult
impl UnsafeUnpin for UploadResult
impl UnwindSafe for UploadResult
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