pub struct CopyParams {
pub source_path: String,
pub x_upyun_metadata_directive: Option<String>,
pub content_md5: Option<String>,
}
Expand description
复制文件的参数
Fields§
§source_path: String
源文件地址(同 bucket),格式 /<source_to_file>
x_upyun_metadata_directive: Option<String>
处理源文件的元信息,默认 copy
(复制),详见 Metadata
content_md5: Option<String>
请求的 MD5 值,需要服务端进行 MD5 校验请填写,等效于签名认证中的 Content-MD5
Auto Trait Implementations§
impl Freeze for CopyParams
impl RefUnwindSafe for CopyParams
impl Send for CopyParams
impl Sync for CopyParams
impl Unpin for CopyParams
impl UnwindSafe for CopyParams
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