pub struct CreateDownloadRequest {
pub path: AbsolutePath,
pub revision_no: Option<RevisionNo>,
pub snapshot_id: Option<SnapshotId>,
}Expand description
The path to download and, optionally, the revision to download.
Fields§
§path: AbsolutePathAbsolute path of the file to read.
revision_no: Option<RevisionNo>Revision to read, or None for the path’s current revision.
Cannot be combined with snapshot_id.
snapshot_id: Option<SnapshotId>Read the file revision captured by this snapshot.
Cannot be combined with revision_no.
Trait Implementations§
Source§impl Clone for CreateDownloadRequest
impl Clone for CreateDownloadRequest
Source§impl Debug for CreateDownloadRequest
impl Debug for CreateDownloadRequest
Source§impl<'de> Deserialize<'de> for CreateDownloadRequest
impl<'de> Deserialize<'de> for CreateDownloadRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CreateDownloadRequest
Source§impl PartialEq for CreateDownloadRequest
impl PartialEq for CreateDownloadRequest
Source§impl Serialize for CreateDownloadRequest
impl Serialize for CreateDownloadRequest
impl StructuralPartialEq for CreateDownloadRequest
Auto Trait Implementations§
impl Freeze for CreateDownloadRequest
impl RefUnwindSafe for CreateDownloadRequest
impl Send for CreateDownloadRequest
impl Sync for CreateDownloadRequest
impl Unpin for CreateDownloadRequest
impl UnsafeUnpin for CreateDownloadRequest
impl UnwindSafe for CreateDownloadRequest
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