Struct lsp_types::MarkdownClientCapabilities
source · pub struct MarkdownClientCapabilities {
pub parser: String,
pub version: Option<String>,
pub allowed_tags: Option<Vec<String>>,
}
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§
source§impl Clone for MarkdownClientCapabilities
impl Clone for MarkdownClientCapabilities
source§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 moresource§impl Debug for MarkdownClientCapabilities
impl Debug for MarkdownClientCapabilities
source§impl Default for MarkdownClientCapabilities
impl Default for MarkdownClientCapabilities
source§fn default() -> MarkdownClientCapabilities
fn default() -> MarkdownClientCapabilities
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MarkdownClientCapabilities
impl<'de> Deserialize<'de> for MarkdownClientCapabilities
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 MarkdownClientCapabilities
impl PartialEq for MarkdownClientCapabilities
source§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 StructuralPartialEq for MarkdownClientCapabilities
Auto Trait Implementations§
impl Freeze for MarkdownClientCapabilities
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