pub enum PutObjectResult {
ApiResponse(PutObjectApiResponse),
CallbackResponse(String),
}Expand description
Put object result enumeration
Variants§
ApiResponse(PutObjectApiResponse)
This is response headers from aliyun oss api when you put object with no callback specified
CallbackResponse(String)
This is your callback response content string when you put object with callback specified.
.0 should be a valid JSON string.
Trait Implementations§
Source§impl Clone for PutObjectResult
impl Clone for PutObjectResult
Source§fn clone(&self) -> PutObjectResult
fn clone(&self) -> PutObjectResult
Returns a duplicate of the value. Read more
1.0.0 · 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 PutObjectResult
impl Debug for PutObjectResult
Source§impl<'de> Deserialize<'de> for PutObjectResult
impl<'de> Deserialize<'de> for PutObjectResult
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
Auto Trait Implementations§
impl Freeze for PutObjectResult
impl RefUnwindSafe for PutObjectResult
impl Send for PutObjectResult
impl Sync for PutObjectResult
impl Unpin for PutObjectResult
impl UnsafeUnpin for PutObjectResult
impl UnwindSafe for PutObjectResult
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