pub struct RichTextMathematicalExpression {
pub kind: String,
pub expression: String,
pub extra: BTreeMap<String, Value>,
}Expand description
A mathematical expression.
Fields§
§kind: StringType of the rich text, always ‘mathematical_expression’
expression: StringThe expression in LaTeX format
extra: BTreeMap<String, Value>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RichTextMathematicalExpression
impl<'de> Deserialize<'de> for RichTextMathematicalExpression
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 From<RichTextMathematicalExpression> for RichTextUnion
impl From<RichTextMathematicalExpression> for RichTextUnion
Source§fn from(value: RichTextMathematicalExpression) -> Self
fn from(value: RichTextMathematicalExpression) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for RichTextMathematicalExpression
Auto Trait Implementations§
impl Freeze for RichTextMathematicalExpression
impl RefUnwindSafe for RichTextMathematicalExpression
impl Send for RichTextMathematicalExpression
impl Sync for RichTextMathematicalExpression
impl Unpin for RichTextMathematicalExpression
impl UnsafeUnpin for RichTextMathematicalExpression
impl UnwindSafe for RichTextMathematicalExpression
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