Struct lsp_types::FileRename
source · [−]Expand description
Represents information on a file/folder rename.
@since 3.16.0
Fields
old_uri: String
A file:// URI for the original location of the file/folder being renamed.
new_uri: String
A file:// URI for the new location of the file/folder being renamed.
Trait Implementations
sourceimpl Clone for FileRename
impl Clone for FileRename
sourcefn clone(&self) -> FileRename
fn clone(&self) -> FileRename
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for FileRename
impl Debug for FileRename
sourceimpl Default for FileRename
impl Default for FileRename
sourcefn default() -> FileRename
fn default() -> FileRename
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for FileRename
impl<'de> Deserialize<'de> for FileRename
sourcefn 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
sourceimpl PartialEq<FileRename> for FileRename
impl PartialEq<FileRename> for FileRename
sourcefn eq(&self, other: &FileRename) -> bool
fn eq(&self, other: &FileRename) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &FileRename) -> bool
fn ne(&self, other: &FileRename) -> bool
This method tests for !=
.
sourceimpl Serialize for FileRename
impl Serialize for FileRename
impl Eq for FileRename
impl StructuralEq for FileRename
impl StructuralPartialEq for FileRename
Auto Trait Implementations
impl RefUnwindSafe for FileRename
impl Send for FileRename
impl Sync for FileRename
impl Unpin for FileRename
impl UnwindSafe for FileRename
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more