pub struct UploadIn {
pub bucket: Option<String>,
pub key: Option<String>,
}Fields§
§bucket: Option<String>Bucket is the bucket to upload into, from the path.
key: Option<String>Key is the object key relative to the bucket root. It is path-cleaned, so a "../" cannot escape the bucket, and an empty or unclean key is 400.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UploadIn
impl<'de> Deserialize<'de> for UploadIn
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 StructuralPartialEq for UploadIn
Auto Trait Implementations§
impl Freeze for UploadIn
impl RefUnwindSafe for UploadIn
impl Send for UploadIn
impl Sync for UploadIn
impl Unpin for UploadIn
impl UnsafeUnpin for UploadIn
impl UnwindSafe for UploadIn
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