pub struct WorkspaceDoc {
pub name: String,
pub path: PathBuf,
pub doc_type: DocType,
pub size_bytes: u64,
}Expand description
A document file in a workspace.
Fields§
§name: String§path: PathBuf§doc_type: DocType§size_bytes: u64Trait Implementations§
Source§impl Clone for WorkspaceDoc
impl Clone for WorkspaceDoc
Source§fn clone(&self) -> WorkspaceDoc
fn clone(&self) -> WorkspaceDoc
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 WorkspaceDoc
impl Debug for WorkspaceDoc
Source§impl<'de> Deserialize<'de> for WorkspaceDoc
impl<'de> Deserialize<'de> for WorkspaceDoc
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 WorkspaceDoc
impl RefUnwindSafe for WorkspaceDoc
impl Send for WorkspaceDoc
impl Sync for WorkspaceDoc
impl Unpin for WorkspaceDoc
impl UnsafeUnpin for WorkspaceDoc
impl UnwindSafe for WorkspaceDoc
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