pub struct StaticTextDocumentRegistrationOptions {
pub document_selector: Option<DocumentSelector>,
pub id: Option<String>,
}
Fields§
§document_selector: Option<DocumentSelector>
A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.
id: Option<String>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for StaticTextDocumentRegistrationOptions
impl<'de> Deserialize<'de> for StaticTextDocumentRegistrationOptions
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 StaticTextDocumentRegistrationOptions
impl PartialEq for StaticTextDocumentRegistrationOptions
Source§fn eq(&self, other: &StaticTextDocumentRegistrationOptions) -> bool
fn eq(&self, other: &StaticTextDocumentRegistrationOptions) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for StaticTextDocumentRegistrationOptions
impl StructuralPartialEq for StaticTextDocumentRegistrationOptions
Auto Trait Implementations§
impl Freeze for StaticTextDocumentRegistrationOptions
impl RefUnwindSafe for StaticTextDocumentRegistrationOptions
impl Send for StaticTextDocumentRegistrationOptions
impl Sync for StaticTextDocumentRegistrationOptions
impl Unpin for StaticTextDocumentRegistrationOptions
impl UnwindSafe for StaticTextDocumentRegistrationOptions
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