pub struct AllocReq<'a> {
pub path: &'a PathOnDevice,
pub bytes: u64,
pub md5: Digest,
pub conflict_handler: ConflictHandler,
pub created: Option<DateTime<Utc>>,
pub modified: Option<DateTime<Utc>>,
}
Expand description
Allocation request.
Fields§
§path: &'a PathOnDevice
Path of the file to be uploaded.
bytes: u64
How many more bytes to allocate.
md5: Digest
MD5 checksum. For some reason, Jottacloud seems to deduplicate files.
conflict_handler: ConflictHandler
Handle conflicts.
created: Option<DateTime<Utc>>
Creation date of the file.
modified: Option<DateTime<Utc>>
Modification date of the file to be uploaded.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for AllocReq<'a>
impl<'a> RefUnwindSafe for AllocReq<'a>
impl<'a> Send for AllocReq<'a>
impl<'a> Sync for AllocReq<'a>
impl<'a> Unpin for AllocReq<'a>
impl<'a> UnwindSafe for AllocReq<'a>
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