pub struct StoredFile {
pub path: String,
pub size: u64,
}Expand description
Metadata returned after a file has been successfully stored.
Fields§
§path: StringRelative path within the storage backend (e.g. "avatars/01HXK3Q1A2B3.jpg").
size: u64File size in bytes.
Auto Trait Implementations§
impl Freeze for StoredFile
impl RefUnwindSafe for StoredFile
impl Send for StoredFile
impl Sync for StoredFile
impl Unpin for StoredFile
impl UnsafeUnpin for StoredFile
impl UnwindSafe for StoredFile
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