pub struct WorkspaceFile {
pub file_id: String,
pub tenant_id: Option<String>,
pub workspace_id: String,
pub path: String,
pub parent_path: Option<String>,
pub filename: String,
pub mime_type: Option<String>,
pub size_bytes: i64,
pub created_at: Option<String>,
pub updated_at: Option<String>,
}Expand description
WorkspaceFile model.
Fields§
§file_id: String§tenant_id: Option<String>§workspace_id: String§path: String§parent_path: Option<String>§filename: String§mime_type: Option<String>§size_bytes: i64§created_at: Option<String>§updated_at: Option<String>Trait Implementations§
Source§impl Clone for WorkspaceFile
impl Clone for WorkspaceFile
Source§fn clone(&self) -> WorkspaceFile
fn clone(&self) -> WorkspaceFile
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 WorkspaceFile
impl Debug for WorkspaceFile
Source§impl Default for WorkspaceFile
impl Default for WorkspaceFile
Source§fn default() -> WorkspaceFile
fn default() -> WorkspaceFile
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WorkspaceFile
impl<'de> Deserialize<'de> for WorkspaceFile
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
Source§impl PartialEq for WorkspaceFile
impl PartialEq for WorkspaceFile
Source§impl Serialize for WorkspaceFile
impl Serialize for WorkspaceFile
impl StructuralPartialEq for WorkspaceFile
Auto Trait Implementations§
impl Freeze for WorkspaceFile
impl RefUnwindSafe for WorkspaceFile
impl Send for WorkspaceFile
impl Sync for WorkspaceFile
impl Unpin for WorkspaceFile
impl UnsafeUnpin for WorkspaceFile
impl UnwindSafe for WorkspaceFile
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