Enum stencila_schema::InlineContent [−][src]
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,
Boolean(Boolean),
Integer(Integer),
Number(Number),
String(String),
}
Expand description
Union type for valid inline content.
Variants
AudioObject(AudioObjectSimple)
Tuple Fields of AudioObject
Cite(Cite)
Tuple Fields of Cite
0: Cite
CiteGroup(CiteGroup)
Tuple Fields of CiteGroup
0: CiteGroup
CodeExpression(CodeExpression)
Tuple Fields of CodeExpression
CodeFragment(CodeFragment)
Tuple Fields of CodeFragment
0: CodeFragment
Delete(Delete)
Tuple Fields of Delete
0: Delete
Emphasis(Emphasis)
Tuple Fields of Emphasis
0: Emphasis
ImageObject(ImageObjectSimple)
Tuple Fields of ImageObject
Link(Link)
Tuple Fields of Link
0: Link
MathFragment(MathFragment)
Tuple Fields of MathFragment
0: MathFragment
NontextualAnnotation(NontextualAnnotation)
Tuple Fields of NontextualAnnotation
Note(Note)
Tuple Fields of Note
0: Note
Parameter(Parameter)
Tuple Fields of Parameter
0: Parameter
Quote(Quote)
Tuple Fields of Quote
0: Quote
Strong(Strong)
Tuple Fields of Strong
0: Strong
Subscript(Subscript)
Tuple Fields of Subscript
0: Subscript
Superscript(Superscript)
Tuple Fields of Superscript
0: Superscript
VideoObject(VideoObjectSimple)
Tuple Fields of VideoObject
Boolean(Boolean)
Tuple Fields of Boolean
0: Boolean
Integer(Integer)
Tuple Fields of Integer
0: Integer
Number(Number)
Tuple Fields of Number
0: Number
String(String)
Tuple Fields of String
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