pub struct DocumentLinkRegistrationOptions {
pub text_document_registration_options: TextDocumentRegistrationOptions,
pub document_link_options: DocumentLinkOptions,
}Expand description
Registration options for a DocumentLinkRequest.
Fields§
§text_document_registration_options: TextDocumentRegistrationOptions§document_link_options: DocumentLinkOptionsImplementations§
Source§impl DocumentLinkRegistrationOptions
impl DocumentLinkRegistrationOptions
pub const fn new( text_document_registration_options: TextDocumentRegistrationOptions, document_link_options: DocumentLinkOptions, ) -> Self
Trait Implementations§
Source§impl Clone for DocumentLinkRegistrationOptions
impl Clone for DocumentLinkRegistrationOptions
Source§fn clone(&self) -> DocumentLinkRegistrationOptions
fn clone(&self) -> DocumentLinkRegistrationOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for DocumentLinkRegistrationOptions
impl Default for DocumentLinkRegistrationOptions
Source§fn default() -> DocumentLinkRegistrationOptions
fn default() -> DocumentLinkRegistrationOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DocumentLinkRegistrationOptions
impl<'de> Deserialize<'de> for DocumentLinkRegistrationOptions
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 DocumentLinkRegistrationOptions
impl PartialEq for DocumentLinkRegistrationOptions
Source§fn eq(&self, other: &DocumentLinkRegistrationOptions) -> bool
fn eq(&self, other: &DocumentLinkRegistrationOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for DocumentLinkRegistrationOptions
impl StructuralPartialEq for DocumentLinkRegistrationOptions
Auto Trait Implementations§
impl Freeze for DocumentLinkRegistrationOptions
impl RefUnwindSafe for DocumentLinkRegistrationOptions
impl Send for DocumentLinkRegistrationOptions
impl Sync for DocumentLinkRegistrationOptions
impl Unpin for DocumentLinkRegistrationOptions
impl UnsafeUnpin for DocumentLinkRegistrationOptions
impl UnwindSafe for DocumentLinkRegistrationOptions
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