pub struct UploadRecords<P> {
pub upload: i64,
pub original: Option<PathBuf>,
pub own: Option<P>,
pub moving: Option<P>,
}Expand description
What is recorded about one queued upload.
Fields§
§upload: i64The upload’s queue id.
original: Option<PathBuf>The path of the user’s original it uploads, if it uploads one.
own: Option<P>The record about the upload’s stored bytes, if it has one.
moving: Option<P>The record about the move the upload belongs to, if it has one: it names an original, which may be this upload’s or a sibling’s.
Trait Implementations§
Source§impl<P: Clone> Clone for UploadRecords<P>
impl<P: Clone> Clone for UploadRecords<P>
Auto Trait Implementations§
impl<P> Freeze for UploadRecords<P>where
P: Freeze,
impl<P> RefUnwindSafe for UploadRecords<P>where
P: RefUnwindSafe,
impl<P> Send for UploadRecords<P>where
P: Send,
impl<P> Sync for UploadRecords<P>where
P: Sync,
impl<P> Unpin for UploadRecords<P>where
P: Unpin,
impl<P> UnsafeUnpin for UploadRecords<P>where
P: UnsafeUnpin,
impl<P> UnwindSafe for UploadRecords<P>where
P: UnwindSafe,
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