pub struct DocumentHighlightParams {
pub text_document: TextDocumentIdentifier,
pub position: Position,
pub work_done_token: Option<ProgressToken>,
pub partial_result_token: Option<ProgressToken>,
}Expand description
Parameters for a {@link DocumentHighlightRequest}.
Fields§
§text_document: TextDocumentIdentifierThe text document.
position: PositionThe position inside the text document.
work_done_token: Option<ProgressToken>An optional token that a server can use to report work done progress.
partial_result_token: Option<ProgressToken>An optional token that a server can use to report partial results (e.g. streaming) to the client.
Trait Implementations§
Source§impl Clone for DocumentHighlightParams
impl Clone for DocumentHighlightParams
Source§fn clone(&self) -> DocumentHighlightParams
fn clone(&self) -> DocumentHighlightParams
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 DocumentHighlightParams
impl Debug for DocumentHighlightParams
Source§impl<'de> Deserialize<'de> for DocumentHighlightParams
impl<'de> Deserialize<'de> for DocumentHighlightParams
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 DocumentHighlightParams
impl PartialEq for DocumentHighlightParams
Source§impl Serialize for DocumentHighlightParams
impl Serialize for DocumentHighlightParams
impl Eq for DocumentHighlightParams
impl StructuralPartialEq for DocumentHighlightParams
Auto Trait Implementations§
impl Freeze for DocumentHighlightParams
impl RefUnwindSafe for DocumentHighlightParams
impl Send for DocumentHighlightParams
impl Sync for DocumentHighlightParams
impl Unpin for DocumentHighlightParams
impl UnwindSafe for DocumentHighlightParams
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