pub struct RenameParams {
pub text_document: TextDocumentIdentifier,
pub position: Position,
pub new_name: String,
}
Fields§
§text_document: TextDocumentIdentifier
The document to format.
position: Position
The position at which this request was sent.
new_name: String
The new name of the symbol. If the given name is not valid the request must return a ResponseError with an appropriate message set.
Trait Implementations§
Source§impl Debug for RenameParams
impl Debug for RenameParams
Source§impl<'de> Deserialize<'de> for RenameParams
impl<'de> Deserialize<'de> for RenameParams
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 RenameParams
impl PartialEq for RenameParams
Source§impl Serialize for RenameParams
impl Serialize for RenameParams
impl Eq for RenameParams
impl StructuralPartialEq for RenameParams
Auto Trait Implementations§
impl Freeze for RenameParams
impl RefUnwindSafe for RenameParams
impl Send for RenameParams
impl Sync for RenameParams
impl Unpin for RenameParams
impl UnwindSafe for RenameParams
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