pub struct RenameFile {
pub from: String,
pub to: String,
pub expected_source_sha256: String,
pub edits: Vec<TextEdit>,
pub extensions: BTreeMap<String, Value>,
}Expand description
Move one exact source to an absent destination.
edits use v1 UTF-16 coordinates against the original from contents
guarded by expected_source_sha256, before the move.
Fields§
§from: String§to: String§expected_source_sha256: String§edits: Vec<TextEdit>§extensions: BTreeMap<String, Value>Implementations§
Trait Implementations§
Source§impl Clone for RenameFile
impl Clone for RenameFile
Source§fn clone(&self) -> RenameFile
fn clone(&self) -> RenameFile
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 RenameFile
impl Debug for RenameFile
Source§impl<'de> Deserialize<'de> for RenameFile
impl<'de> Deserialize<'de> for RenameFile
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 RenameFile
impl PartialEq for RenameFile
Source§impl Serialize for RenameFile
impl Serialize for RenameFile
impl StructuralPartialEq for RenameFile
Auto Trait Implementations§
impl Freeze for RenameFile
impl RefUnwindSafe for RenameFile
impl Send for RenameFile
impl Sync for RenameFile
impl Unpin for RenameFile
impl UnsafeUnpin for RenameFile
impl UnwindSafe for RenameFile
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