pub struct CreateFileResponse {
pub errno: i32,
pub fs_id: u64,
pub md5: Option<String>,
pub server_filename: Option<String>,
pub category: i32,
pub path: String,
pub size: u64,
pub ctime: u64,
pub mtime: u64,
pub isdir: i32,
pub name: Option<String>,
pub from_type: Option<i32>,
}Expand description
Create file response
Fields§
§errno: i32Error code (0 indicates success)
fs_id: u64File server ID
md5: Option<String>File MD5
server_filename: Option<String>Server filename
category: i32File category
path: StringFile path
size: u64File size in bytes
ctime: u64Creation time (timestamp)
mtime: u64Modification time (timestamp)
isdir: i32Is directory (0 for file, 1 for directory)
name: Option<String>File name
from_type: Option<i32>From type
Trait Implementations§
Source§impl Debug for CreateFileResponse
impl Debug for CreateFileResponse
Source§impl<'de> Deserialize<'de> for CreateFileResponse
impl<'de> Deserialize<'de> for CreateFileResponse
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 CreateFileResponse
impl RefUnwindSafe for CreateFileResponse
impl Send for CreateFileResponse
impl Sync for CreateFileResponse
impl Unpin for CreateFileResponse
impl UnsafeUnpin for CreateFileResponse
impl UnwindSafe for CreateFileResponse
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