pub enum WorkspaceFileChangedOperation {
Create,
Update,
Unknown,
}Expand description
Whether the file was newly created or updated
Variants§
Trait Implementations§
Source§impl Clone for WorkspaceFileChangedOperation
impl Clone for WorkspaceFileChangedOperation
Source§fn clone(&self) -> WorkspaceFileChangedOperation
fn clone(&self) -> WorkspaceFileChangedOperation
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<'de> Deserialize<'de> for WorkspaceFileChangedOperation
impl<'de> Deserialize<'de> for WorkspaceFileChangedOperation
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 WorkspaceFileChangedOperation
impl PartialEq for WorkspaceFileChangedOperation
Source§fn eq(&self, other: &WorkspaceFileChangedOperation) -> bool
fn eq(&self, other: &WorkspaceFileChangedOperation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for WorkspaceFileChangedOperation
impl StructuralPartialEq for WorkspaceFileChangedOperation
Auto Trait Implementations§
impl Freeze for WorkspaceFileChangedOperation
impl RefUnwindSafe for WorkspaceFileChangedOperation
impl Send for WorkspaceFileChangedOperation
impl Sync for WorkspaceFileChangedOperation
impl Unpin for WorkspaceFileChangedOperation
impl UnsafeUnpin for WorkspaceFileChangedOperation
impl UnwindSafe for WorkspaceFileChangedOperation
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