pub struct UploadedFile {
pub file_id: String,
pub name: String,
}Expand description
已上传的文件信息
Fields§
§file_id: String文件ID
name: String文件名
Trait Implementations§
Source§impl Clone for UploadedFile
impl Clone for UploadedFile
Source§fn clone(&self) -> UploadedFile
fn clone(&self) -> UploadedFile
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 UploadedFile
impl Debug for UploadedFile
Source§impl<'de> Deserialize<'de> for UploadedFile
impl<'de> Deserialize<'de> for UploadedFile
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 UploadedFile
impl RefUnwindSafe for UploadedFile
impl Send for UploadedFile
impl Sync for UploadedFile
impl Unpin for UploadedFile
impl UnwindSafe for UploadedFile
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