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 moresourceimpl 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
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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