pub struct FileInfo {
pub x_upyun_file_type: String,
pub x_upyun_file_size: Option<u64>,
pub x_upyun_file_date: String,
pub content_md5: Option<String>,
}
Expand description
获取文件信息的响应信息
Fields§
§x_upyun_file_type: String
文件为 file
,文件夹为 folder
x_upyun_file_size: Option<u64>
文件大小(字节)
x_upyun_file_date: String
文件创建时间
content_md5: Option<String>
文件的 MD5 值
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileInfo
impl RefUnwindSafe for FileInfo
impl Send for FileInfo
impl Sync for FileInfo
impl Unpin for FileInfo
impl UnwindSafe for FileInfo
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