pub struct WorkspaceFile {
pub path: String,
pub size: u64,
}Expand description
A file in a thread’s project workspace.
Fields§
§path: String§size: u64Trait Implementations§
Source§impl Clone for WorkspaceFile
impl Clone for WorkspaceFile
Source§impl Debug for WorkspaceFile
impl Debug for WorkspaceFile
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
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