pub struct MultipartInitRequest {
pub key_name: String,
pub mime_type: String,
pub bucket_name: String,
pub metadata: Option<HashMap<String, String>>,
pub storage_type: Option<String>,
pub security_token: Option<String>,
/* private fields */
}Expand description
Re-export multipart_init module Request configuration
Fields§
§key_name: StringRequired: Key name
mime_type: StringRequired: Content type
bucket_name: StringRequired: Bucket name
metadata: Option<HashMap<String, String>>Optional: Metadata
storage_type: Option<String>Optional: Storage type
security_token: Option<String>Optional: Security token
Trait Implementations§
Source§impl ApiRequest for MultipartInitRequest
impl ApiRequest for MultipartInitRequest
type Response = InitMultipartState
type Error = Error
Source§fn request<'async_trait>(
self,
) -> Pin<Box<dyn Future<Output = Result<Self::Response, Self::Error>> + Send + 'async_trait>>where
Self: 'async_trait,
fn request<'async_trait>(
self,
) -> Pin<Box<dyn Future<Output = Result<Self::Response, Self::Error>> + Send + 'async_trait>>where
Self: 'async_trait,
This method consumed the request and return the response.
Create ApiOperation impl and invoke
ApiOperation’s execute method to consume self. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for MultipartInitRequest
impl !UnwindSafe for MultipartInitRequest
impl Freeze for MultipartInitRequest
impl Send for MultipartInitRequest
impl Sync for MultipartInitRequest
impl Unpin for MultipartInitRequest
impl UnsafeUnpin for MultipartInitRequest
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