pub struct MoveParams {
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 MoveParams
impl RefUnwindSafe for MoveParams
impl Send for MoveParams
impl Sync for MoveParams
impl Unpin for MoveParams
impl UnwindSafe for MoveParams
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