pub struct DirectPutUpload {
pub content_ref: ContentRef,
pub access: ObjectTransferAccess,
}Expand description
Presigned direct_put upload details. The raw object key is intentionally not public.
Fields§
§content_ref: ContentRefImmutable object identity the server minted, plus the byte length and checksum covered by the signed request. Completion and the later commit both name exactly this reference.
access: ObjectTransferAccessShort-lived write capability the client uses without learning the raw object key.
Trait Implementations§
Source§impl Clone for DirectPutUpload
impl Clone for DirectPutUpload
Source§fn clone(&self) -> DirectPutUpload
fn clone(&self) -> DirectPutUpload
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DirectPutUpload
impl Debug for DirectPutUpload
Source§impl<'de> Deserialize<'de> for DirectPutUpload
impl<'de> Deserialize<'de> for DirectPutUpload
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 DirectPutUpload
Source§impl PartialEq for DirectPutUpload
impl PartialEq for DirectPutUpload
Source§impl Serialize for DirectPutUpload
impl Serialize for DirectPutUpload
impl StructuralPartialEq for DirectPutUpload
Auto Trait Implementations§
impl Freeze for DirectPutUpload
impl RefUnwindSafe for DirectPutUpload
impl Send for DirectPutUpload
impl Sync for DirectPutUpload
impl Unpin for DirectPutUpload
impl UnsafeUnpin for DirectPutUpload
impl UnwindSafe for DirectPutUpload
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