pub struct FileResponse {Show 15 fields
pub file_type: i32,
pub id: String,
pub name: String,
pub permission: Option<String>,
pub created_at: String,
pub updated_at: String,
pub size: i64,
pub metadata: Option<HashMap<String, String>>,
pub path: String,
pub shared: Option<bool>,
pub capability: Option<String>,
pub owned: Option<bool>,
pub folder_summary: Option<FolderSummary>,
pub extended_info: Option<ExtendedInfo>,
pub primary_entity: Option<String>,
}Expand description
File response
Fields§
§file_type: i32§id: String§name: String§permission: Option<String>§created_at: String§updated_at: String§size: i64§metadata: Option<HashMap<String, String>>§path: String§capability: Option<String>§owned: Option<bool>§folder_summary: Option<FolderSummary>§extended_info: Option<ExtendedInfo>§primary_entity: Option<String>Trait Implementations§
Source§impl Clone for FileResponse
impl Clone for FileResponse
Source§fn clone(&self) -> FileResponse
fn clone(&self) -> FileResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FileResponse
impl Debug for FileResponse
Source§impl Default for FileResponse
impl Default for FileResponse
Source§fn default() -> FileResponse
fn default() -> FileResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FileResponse
impl<'de> Deserialize<'de> for FileResponse
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 FileResponse
impl RefUnwindSafe for FileResponse
impl Send for FileResponse
impl Sync for FileResponse
impl Unpin for FileResponse
impl UnsafeUnpin for FileResponse
impl UnwindSafe for FileResponse
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