pub struct CreateDownloadResponse {
pub namespace_id: NamespaceId,
pub path: AbsolutePath,
pub revision_no: RevisionNo,
pub content_ref: ContentRef,
pub access: ObjectTransferAccess,
}Expand description
A presigned URL for one content object.
The URL expires at access.expires_at_ms; later path changes do not change the object.
Fields§
§namespace_id: NamespaceIdNamespace that was read.
path: AbsolutePathAbsolute path as rendered from stored display names.
revision_no: RevisionNoRevision the capability reads, resolved from the request.
content_ref: ContentRefThe identity, byte length, and checksum of the object to download.
access: ObjectTransferAccessShort-lived read capability the client uses without learning the raw object key.
Trait Implementations§
Source§impl Clone for CreateDownloadResponse
impl Clone for CreateDownloadResponse
Source§impl Debug for CreateDownloadResponse
impl Debug for CreateDownloadResponse
Source§impl<'de> Deserialize<'de> for CreateDownloadResponse
impl<'de> Deserialize<'de> for CreateDownloadResponse
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 CreateDownloadResponse
Source§impl PartialEq for CreateDownloadResponse
impl PartialEq for CreateDownloadResponse
Source§impl Serialize for CreateDownloadResponse
impl Serialize for CreateDownloadResponse
impl StructuralPartialEq for CreateDownloadResponse
Auto Trait Implementations§
impl Freeze for CreateDownloadResponse
impl RefUnwindSafe for CreateDownloadResponse
impl Send for CreateDownloadResponse
impl Sync for CreateDownloadResponse
impl Unpin for CreateDownloadResponse
impl UnsafeUnpin for CreateDownloadResponse
impl UnwindSafe for CreateDownloadResponse
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