Struct lsp2::MarkdownClientCapabilities
pub struct MarkdownClientCapabilities {
pub parser: String,
pub version: Option<String>,
pub allowed_tags: Option<Vec<String, Global>>,
}
Fields§
§parser: String
The name of the parser.
version: Option<String>
The version of the parser.
A list of HTML tags that the client allows / supports in Markdown.
@since 3.17.0
Trait Implementations§
§impl Clone for MarkdownClientCapabilities
impl Clone for MarkdownClientCapabilities
§fn clone(&self) -> MarkdownClientCapabilities
fn clone(&self) -> MarkdownClientCapabilities
Returns a copy 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 more§impl Debug for MarkdownClientCapabilities
impl Debug for MarkdownClientCapabilities
§impl Default for MarkdownClientCapabilities
impl Default for MarkdownClientCapabilities
§fn default() -> MarkdownClientCapabilities
fn default() -> MarkdownClientCapabilities
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for MarkdownClientCapabilities
impl<'de> Deserialize<'de> for MarkdownClientCapabilities
§fn deserialize<__D>(
__deserializer: __D
) -> Result<MarkdownClientCapabilities, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<MarkdownClientCapabilities, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl PartialEq<MarkdownClientCapabilities> for MarkdownClientCapabilities
impl PartialEq<MarkdownClientCapabilities> for MarkdownClientCapabilities
§fn eq(&self, other: &MarkdownClientCapabilities) -> bool
fn eq(&self, other: &MarkdownClientCapabilities) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl Serialize for MarkdownClientCapabilities
impl Serialize for MarkdownClientCapabilities
§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for MarkdownClientCapabilities
Auto Trait Implementations§
impl RefUnwindSafe for MarkdownClientCapabilities
impl Send for MarkdownClientCapabilities
impl Sync for MarkdownClientCapabilities
impl Unpin for MarkdownClientCapabilities
impl UnwindSafe for MarkdownClientCapabilities
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