pub struct TextContext {
pub excerpt: String,
pub html: Html,
pub unknown: HashMap<String, Value>,
}Expand description
Text Content for literature
Fields§
§excerpt: StringExcerpt of text
html: HtmlHtml data
unknown: HashMap<String, Value>Unknown K/Vs
Trait Implementations§
Source§impl Clone for TextContext
impl Clone for TextContext
Source§fn clone(&self) -> TextContext
fn clone(&self) -> TextContext
Returns a duplicate 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 TextContext
impl Debug for TextContext
Source§impl<'de> Deserialize<'de> for TextContext
impl<'de> Deserialize<'de> for TextContext
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
Auto Trait Implementations§
impl Freeze for TextContext
impl RefUnwindSafe for TextContext
impl Send for TextContext
impl Sync for TextContext
impl Unpin for TextContext
impl UnwindSafe for TextContext
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