pub struct DriveFile {
pub token: String,
pub name: String,
pub file_type: String,
pub parent_token: Option<String>,
pub url: Option<String>,
pub short_url: Option<String>,
pub size: Option<i64>,
pub mime_type: Option<String>,
pub created_time: Option<String>,
pub modified_time: Option<String>,
pub owner_id: Option<String>,
}Expand description
驱动文件信息
Fields§
§token: String文件的token
name: String文件名
file_type: String文件类型
parent_token: Option<String>父文件夹token
url: Option<String>文件链接
short_url: Option<String>文件短链接
size: Option<i64>文件大小(字节)
mime_type: Option<String>文件mime类型
created_time: Option<String>创建时间
modified_time: Option<String>修改时间
owner_id: Option<String>拥有者id
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DriveFile
impl<'de> Deserialize<'de> for DriveFile
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 DriveFile
impl RefUnwindSafe for DriveFile
impl Send for DriveFile
impl Sync for DriveFile
impl Unpin for DriveFile
impl UnwindSafe for DriveFile
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