Enum stencila_schema::InlineContent
source · [−]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)
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)
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