pub struct DeclarationParams {
pub text_document: TextDocumentIdentifier,
pub position: Position,
pub work_done_token: Option<ProgressToken>,
pub partial_result_token: Option<ProgressToken>,
}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 DeclarationParams
impl Clone for DeclarationParams
Source§fn clone(&self) -> DeclarationParams
fn clone(&self) -> DeclarationParams
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 DeclarationParams
impl Debug for DeclarationParams
Source§impl<'de> Deserialize<'de> for DeclarationParams
impl<'de> Deserialize<'de> for DeclarationParams
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 DeclarationParams
impl PartialEq for DeclarationParams
Source§impl Serialize for DeclarationParams
impl Serialize for DeclarationParams
impl Eq for DeclarationParams
impl StructuralPartialEq for DeclarationParams
Auto Trait Implementations§
impl Freeze for DeclarationParams
impl RefUnwindSafe for DeclarationParams
impl Send for DeclarationParams
impl Sync for DeclarationParams
impl Unpin for DeclarationParams
impl UnwindSafe for DeclarationParams
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