pub struct BeginUpload<'a> {
pub id: &'a str,
pub meta: &'a RawValue,
pub size: String,
pub expected_key_id: Option<String>,
pub in_rewrite: bool,
}Expand description
beginUpload’s request.
Fields§
§id: &'a strThe id the client proposes.
meta: &'a RawValueThe item’s meta.json, byte for byte.
size: StringThe stored content’s size, as a string.
expected_key_id: Option<String>The key the client believes the workspace is under; None for
plaintext.
in_rewrite: boolWhether this stages a rewrite’s next generation.
Trait Implementations§
Source§impl<'a> Debug for BeginUpload<'a>
impl<'a> Debug for BeginUpload<'a>
Auto Trait Implementations§
impl<'a> Freeze for BeginUpload<'a>
impl<'a> RefUnwindSafe for BeginUpload<'a>
impl<'a> Send for BeginUpload<'a>
impl<'a> Sync for BeginUpload<'a>
impl<'a> Unpin for BeginUpload<'a>
impl<'a> UnsafeUnpin for BeginUpload<'a>
impl<'a> UnwindSafe for BeginUpload<'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