pub struct HostParseParams {
pub extension: String,
pub source: String,
pub text: String,
}Expand description
Parameters of request::HostParse.
Fields§
§extension: StringThe extension of the files whose parser should parse the text,
without the dot, e.g. "md" or "rst".
source: StringThe source path to give the parsed document (and its diagnostics), usually the document the text will be part of.
text: StringThe text.
Trait Implementations§
Source§impl Clone for HostParseParams
impl Clone for HostParseParams
Source§impl Debug for HostParseParams
impl Debug for HostParseParams
Source§impl Default for HostParseParams
impl Default for HostParseParams
Source§impl<'de> Deserialize<'de> for HostParseParams
impl<'de> Deserialize<'de> for HostParseParams
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 HostParseParams
impl PartialEq for HostParseParams
Source§impl Serialize for HostParseParams
impl Serialize for HostParseParams
impl StructuralPartialEq for HostParseParams
Auto Trait Implementations§
impl Forget for HostParseParams
impl Freeze for HostParseParams
impl Move for HostParseParams
impl RefUnwindSafe for HostParseParams
impl Send for HostParseParams
impl Sync for HostParseParams
impl Unpin for HostParseParams
impl UnsafeUnpin for HostParseParams
impl UnwindSafe for HostParseParams
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