pub struct TextDocumentEdit {
pub edits: Vec<OneOf<TextEdit, AnnotatedTextEdit>>,
pub text_document: OptionalVersionedTextDocumentIdentifier,
}Fields§
§edits: Vec<OneOf<TextEdit, AnnotatedTextEdit>>The edits to be applied.
text_document: OptionalVersionedTextDocumentIdentifierThe text document to change.
Trait Implementations§
Source§impl Clone for TextDocumentEdit
impl Clone for TextDocumentEdit
Source§fn clone(&self) -> TextDocumentEdit
fn clone(&self) -> TextDocumentEdit
Returns a duplicate of the value. Read more
1.0.0 · 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 TextDocumentEdit
impl Debug for TextDocumentEdit
Source§impl<'de> Deserialize<'de> for TextDocumentEdit
impl<'de> Deserialize<'de> for TextDocumentEdit
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 TextDocumentEdit
impl PartialEq for TextDocumentEdit
Source§impl Serialize for TextDocumentEdit
impl Serialize for TextDocumentEdit
impl StructuralPartialEq for TextDocumentEdit
Auto Trait Implementations§
impl Freeze for TextDocumentEdit
impl RefUnwindSafe for TextDocumentEdit
impl Send for TextDocumentEdit
impl Sync for TextDocumentEdit
impl Unpin for TextDocumentEdit
impl UnwindSafe for TextDocumentEdit
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