pub struct WorkspaceFileChange {
pub file_id: String,
pub path: String,
pub previous_path: Option<String>,
pub kind: WorkspaceFileChangeKind,
pub before: Option<String>,
pub after: Option<String>,
pub before_revision: Option<String>,
pub after_revision: Option<String>,
pub additions: usize,
pub deletions: usize,
}Fields§
§file_id: String§path: String§previous_path: Option<String>§kind: WorkspaceFileChangeKind§before: Option<String>§after: Option<String>§before_revision: Option<String>§after_revision: Option<String>§additions: usize§deletions: usizeTrait Implementations§
Source§impl Clone for WorkspaceFileChange
impl Clone for WorkspaceFileChange
Source§fn clone(&self) -> WorkspaceFileChange
fn clone(&self) -> WorkspaceFileChange
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 WorkspaceFileChange
impl Debug for WorkspaceFileChange
Source§impl<'de> Deserialize<'de> for WorkspaceFileChange
impl<'de> Deserialize<'de> for WorkspaceFileChange
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 WorkspaceFileChange
impl RefUnwindSafe for WorkspaceFileChange
impl Send for WorkspaceFileChange
impl Sync for WorkspaceFileChange
impl Unpin for WorkspaceFileChange
impl UnsafeUnpin for WorkspaceFileChange
impl UnwindSafe for WorkspaceFileChange
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