pub struct Verbatim {
pub content: String,
pub location: Location,
}Expand description
A Verbatim represents verbatim text section in a document.
This is the most basic form of text in a document and it should note that its contents must be rendered as they are (e.g: “<h1>” should not end up being a <h1> tag, it should be “<h1>” text in html, very likely <h1>).
It is similar to Raw, but is intended for use in contexts where verbatim text is
used, and some substitutions are done, namely converting callouts.
Fields§
§content: String§location: LocationTrait Implementations§
Source§impl<'de> Deserialize<'de> for Verbatim
impl<'de> Deserialize<'de> for Verbatim
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
impl StructuralPartialEq for Verbatim
Auto Trait Implementations§
impl Freeze for Verbatim
impl RefUnwindSafe for Verbatim
impl Send for Verbatim
impl Sync for Verbatim
impl Unpin for Verbatim
impl UnwindSafe for Verbatim
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