pub struct FilesUploadResponse {
pub id: String,
pub name: String,
pub size: u64,
pub extension: String,
pub mime_type: String,
pub created_by: String,
pub created_at: u64,
}
Expand description
上传文件响应
Fields§
§id: String
ID
name: String
文件名
size: u64
文件大小(byte)
extension: String
文件后缀
mime_type: String
文件 mime-type
created_by: String
上传人 ID
created_at: u64
上传时间
Trait Implementations§
Source§impl Clone for FilesUploadResponse
impl Clone for FilesUploadResponse
Source§fn clone(&self) -> FilesUploadResponse
fn clone(&self) -> FilesUploadResponse
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 FilesUploadResponse
impl Debug for FilesUploadResponse
Source§impl<'de> Deserialize<'de> for FilesUploadResponse
impl<'de> Deserialize<'de> for FilesUploadResponse
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 FilesUploadResponse
impl RefUnwindSafe for FilesUploadResponse
impl Send for FilesUploadResponse
impl Sync for FilesUploadResponse
impl Unpin for FilesUploadResponse
impl UnwindSafe for FilesUploadResponse
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