pub enum InlineContent {
Show 23 variants
AudioObject(AudioObjectSimple),
Cite(Cite),
CiteGroup(CiteGroup),
CodeExpression(CodeExpression),
CodeFragment(CodeFragment),
Delete(Delete),
Emphasis(Emphasis),
ImageObject(ImageObjectSimple),
Link(Link),
MathFragment(MathFragment),
NontextualAnnotation(NontextualAnnotation),
Note(Note),
Parameter(Parameter),
Quote(Quote),
Strong(Strong),
Subscript(Subscript),
Superscript(Superscript),
VideoObject(VideoObjectSimple),
Null(Null),
Boolean(Boolean),
Integer(Integer),
Number(Number),
String(String),
}
Expand description
Union type for valid inline content.
Variants
AudioObject(AudioObjectSimple)
Tuple Fields
Cite(Cite)
Tuple Fields
0: Cite
CiteGroup(CiteGroup)
Tuple Fields
0: CiteGroup
CodeExpression(CodeExpression)
Tuple Fields
CodeFragment(CodeFragment)
Tuple Fields
0: CodeFragment
Delete(Delete)
Tuple Fields
0: Delete
Emphasis(Emphasis)
Tuple Fields
0: Emphasis
ImageObject(ImageObjectSimple)
Tuple Fields
Link(Link)
Tuple Fields
0: Link
MathFragment(MathFragment)
Tuple Fields
0: MathFragment
NontextualAnnotation(NontextualAnnotation)
Tuple Fields
Note(Note)
Tuple Fields
0: Note
Parameter(Parameter)
Tuple Fields
0: Parameter
Quote(Quote)
Tuple Fields
0: Quote
Strong(Strong)
Tuple Fields
0: Strong
Subscript(Subscript)
Tuple Fields
0: Subscript
Superscript(Superscript)
Tuple Fields
0: Superscript
VideoObject(VideoObjectSimple)
Tuple Fields
Null(Null)
Tuple Fields
0: Null
Boolean(Boolean)
Tuple Fields
0: Boolean
Integer(Integer)
Tuple Fields
0: Integer
Number(Number)
Tuple Fields
0: Number
String(String)
Tuple Fields
0: String
Trait Implementations
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 RefUnwindSafe for InlineContent
impl Send for InlineContent
impl Sync for InlineContent
impl Unpin for InlineContent
impl UnwindSafe for InlineContent
Blanket Implementations
Mutably borrows from an owned value. Read more