pub struct LocalFile {
pub path: String,
pub entry: Option<FileEntry>,
}Expand description
One file a workspace differs in from its base, as it would be in a tree.
Fields§
§path: String§entry: Option<FileEntry>None: the file is deleted.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LocalFile
impl<'de> Deserialize<'de> for LocalFile
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 Forget for LocalFile
impl Freeze for LocalFile
impl RefUnwindSafe for LocalFile
impl Send for LocalFile
impl Sync for LocalFile
impl Unpin for LocalFile
impl UnsafeUnpin for LocalFile
impl UnwindSafe for LocalFile
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