pub struct CallbackBody {Show 14 fields
pub bucket: String,
pub object: String,
pub etag: String,
pub size: String,
pub mime_type: String,
pub imageinfo_height: String,
pub imageinfo_width: String,
pub imageinfo_format: String,
pub crc64: String,
pub content_md5: String,
pub vpc_id: String,
pub client_ip: String,
pub req_id: String,
pub operation: String,
}Fields§
§bucket: String存储空间名称。
object: String对象(文件)的完整路径。
etag: String文件的ETag,即返回给用户的ETag字段。
size: StringObject大小。调用CompleteMultipartUpload时,size为整个Object的大小。
mime_type: String资源类型,例如jpeg图片的资源类型为image/jpeg。
imageinfo_height: String图片高度。该变量仅适用于图片格式,对于非图片格式,该变量的值为空。
imageinfo_width: String图片宽度。该变量仅适用于图片格式,对于非图片格式,该变量的值为空。
imageinfo_format: String图片格式,例如JPG、PNG等。该变量仅适用于图片格式,对于非图片格式,该变量的值为空。
crc64: String与上传文件后返回的x-oss-hash-crc64ecma头内容一致。
content_md5: String与上传文件后返回的Content-MD5头内容一致。 仅在调用PutObject和PostObject接口上传文件时,该变量的值不为空。
vpc_id: String发起请求的客户端所在的VpcId。如果不是通过VPC发起请求,则该变量的值为空。
client_ip: String发起请求的客户端IP地址。
req_id: String发起请求的RequestId。
operation: String发起请求的接口名称,例如PutObject、PostObject等。
Trait Implementations§
Source§impl Clone for CallbackBody
impl Clone for CallbackBody
Source§fn clone(&self) -> CallbackBody
fn clone(&self) -> CallbackBody
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 CallbackBody
impl Debug for CallbackBody
Source§impl Default for CallbackBody
impl Default for CallbackBody
Source§fn default() -> CallbackBody
fn default() -> CallbackBody
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CallbackBody
impl<'de> Deserialize<'de> for CallbackBody
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 CallbackBody
impl RefUnwindSafe for CallbackBody
impl Send for CallbackBody
impl Sync for CallbackBody
impl Unpin for CallbackBody
impl UnwindSafe for CallbackBody
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