pub struct SessionFile {
pub dto: FileDto,
pub token: String,
pub status: FileTransferStatus,
pub attempts: u32,
pub target_path: PathBuf,
}Expand description
Metadata and state for an individual file in an active upload session.
Fields§
§dto: FileDtoFile metadata DTO from prepare-upload.
token: StringUnique upload token assigned for this file.
status: FileTransferStatusCurrent transfer status.
attempts: u32Number of upload attempts.
target_path: PathBufResolved target path on disk.
Trait Implementations§
Source§impl Clone for SessionFile
impl Clone for SessionFile
Auto Trait Implementations§
impl Freeze for SessionFile
impl RefUnwindSafe for SessionFile
impl Send for SessionFile
impl Sync for SessionFile
impl Unpin for SessionFile
impl UnsafeUnpin for SessionFile
impl UnwindSafe for SessionFile
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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