Enum stencila_schema::Node[][src]

pub enum Node {
Show 86 variants Entity(Entity), ArrayValidator(ArrayValidator), Article(Article), AudioObject(AudioObject), BooleanValidator(BooleanValidator), Brand(Brand), CitationIntentEnumeration(CitationIntentEnumeration), Cite(Cite), CiteGroup(CiteGroup), Claim(Claim), Code(Code), CodeBlock(CodeBlock), CodeChunk(CodeChunk), CodeError(CodeError), CodeExpression(CodeExpression), CodeFragment(CodeFragment), Collection(Collection), Comment(Comment), ConstantValidator(ConstantValidator), ContactPoint(ContactPoint), CreativeWork(CreativeWork), Datatable(Datatable), DatatableColumn(DatatableColumn), Date(Date), DefinedTerm(DefinedTerm), Delete(Delete), Emphasis(Emphasis), EnumValidator(EnumValidator), Enumeration(Enumeration), Figure(Figure), Function(Function), Grant(Grant), Heading(Heading), ImageObject(ImageObject), Include(Include), IntegerValidator(IntegerValidator), Link(Link), List(List), ListItem(ListItem), Mark(Mark), Math(Math), MathBlock(MathBlock), MathFragment(MathFragment), MediaObject(MediaObject), MonetaryGrant(MonetaryGrant), NontextualAnnotation(NontextualAnnotation), Note(Note), NumberValidator(NumberValidator), Organization(Organization), Paragraph(Paragraph), Parameter(Parameter), Periodical(Periodical), Person(Person), PostalAddress(PostalAddress), Product(Product), PropertyValue(PropertyValue), PublicationIssue(PublicationIssue), PublicationVolume(PublicationVolume), Quote(Quote), QuoteBlock(QuoteBlock), Review(Review), SoftwareApplication(SoftwareApplication), SoftwareEnvironment(SoftwareEnvironment), SoftwareSession(SoftwareSession), SoftwareSourceCode(SoftwareSourceCode), StringValidator(StringValidator), Strong(Strong), Subscript(Subscript), Superscript(Superscript), Table(Table), TableCell(TableCell), TableRow(TableRow), ThematicBreak(ThematicBreak), Thing(Thing), TupleValidator(TupleValidator), Validator(Validator), Variable(Variable), VideoObject(VideoObject), VolumeMount(VolumeMount), Null, Boolean(Boolean), Integer(Integer), Number(Number), String(String), Object(Object), Array(Array),
}
Expand description

Union type for all schema nodes, including primitives and entities

Variants

Entity

Tuple Fields of Entity

0: Entity
ArrayValidator

Tuple Fields of ArrayValidator

0: ArrayValidator
Article

Tuple Fields of Article

0: Article
AudioObject

Tuple Fields of AudioObject

0: AudioObject
BooleanValidator

Tuple Fields of BooleanValidator

0: BooleanValidator
Brand

Tuple Fields of Brand

0: Brand
CitationIntentEnumeration

Tuple Fields of CitationIntentEnumeration

0: CitationIntentEnumeration
Cite

Tuple Fields of Cite

0: Cite
CiteGroup

Tuple Fields of CiteGroup

0: CiteGroup
Claim

Tuple Fields of Claim

0: Claim
Code

Tuple Fields of Code

0: Code
CodeBlock

Tuple Fields of CodeBlock

0: CodeBlock
CodeChunk

Tuple Fields of CodeChunk

0: CodeChunk
CodeError

Tuple Fields of CodeError

0: CodeError
CodeExpression

Tuple Fields of CodeExpression

0: CodeExpression
CodeFragment

Tuple Fields of CodeFragment

0: CodeFragment
Collection

Tuple Fields of Collection

0: Collection
Comment

Tuple Fields of Comment

0: Comment
ConstantValidator

Tuple Fields of ConstantValidator

0: ConstantValidator
ContactPoint

Tuple Fields of ContactPoint

0: ContactPoint
CreativeWork

Tuple Fields of CreativeWork

0: CreativeWork
Datatable

Tuple Fields of Datatable

0: Datatable
DatatableColumn

Tuple Fields of DatatableColumn

0: DatatableColumn
Date

Tuple Fields of Date

0: Date
DefinedTerm

Tuple Fields of DefinedTerm

0: DefinedTerm
Delete

Tuple Fields of Delete

0: Delete
Emphasis

Tuple Fields of Emphasis

0: Emphasis
EnumValidator

Tuple Fields of EnumValidator

0: EnumValidator
Enumeration

Tuple Fields of Enumeration

0: Enumeration
Figure

Tuple Fields of Figure

0: Figure
Function

Tuple Fields of Function

0: Function
Grant

Tuple Fields of Grant

0: Grant
Heading

Tuple Fields of Heading

0: Heading
ImageObject

Tuple Fields of ImageObject

0: ImageObject
Include

Tuple Fields of Include

0: Include
IntegerValidator

Tuple Fields of IntegerValidator

0: IntegerValidator

Tuple Fields of Link

0: Link
List

Tuple Fields of List

0: List
ListItem

Tuple Fields of ListItem

0: ListItem
Mark

Tuple Fields of Mark

0: Mark
Math

Tuple Fields of Math

0: Math
MathBlock

Tuple Fields of MathBlock

0: MathBlock
MathFragment

Tuple Fields of MathFragment

0: MathFragment
MediaObject

Tuple Fields of MediaObject

0: MediaObject
MonetaryGrant

Tuple Fields of MonetaryGrant

0: MonetaryGrant
NontextualAnnotation

Tuple Fields of NontextualAnnotation

0: NontextualAnnotation
Note

Tuple Fields of Note

0: Note
NumberValidator

Tuple Fields of NumberValidator

0: NumberValidator
Organization

Tuple Fields of Organization

0: Organization
Paragraph

Tuple Fields of Paragraph

0: Paragraph
Parameter

Tuple Fields of Parameter

0: Parameter
Periodical

Tuple Fields of Periodical

0: Periodical
Person

Tuple Fields of Person

0: Person
PostalAddress

Tuple Fields of PostalAddress

0: PostalAddress
Product

Tuple Fields of Product

0: Product
PropertyValue

Tuple Fields of PropertyValue

0: PropertyValue
PublicationIssue

Tuple Fields of PublicationIssue

0: PublicationIssue
PublicationVolume

Tuple Fields of PublicationVolume

0: PublicationVolume
Quote

Tuple Fields of Quote

0: Quote
QuoteBlock

Tuple Fields of QuoteBlock

0: QuoteBlock
Review

Tuple Fields of Review

0: Review
SoftwareApplication

Tuple Fields of SoftwareApplication

0: SoftwareApplication
SoftwareEnvironment

Tuple Fields of SoftwareEnvironment

0: SoftwareEnvironment
SoftwareSession

Tuple Fields of SoftwareSession

0: SoftwareSession
SoftwareSourceCode

Tuple Fields of SoftwareSourceCode

0: SoftwareSourceCode
StringValidator

Tuple Fields of StringValidator

0: StringValidator
Strong

Tuple Fields of Strong

0: Strong
Subscript

Tuple Fields of Subscript

0: Subscript
Superscript

Tuple Fields of Superscript

0: Superscript
Table

Tuple Fields of Table

0: Table
TableCell

Tuple Fields of TableCell

0: TableCell
TableRow

Tuple Fields of TableRow

0: TableRow
ThematicBreak

Tuple Fields of ThematicBreak

0: ThematicBreak
Thing

Tuple Fields of Thing

0: Thing
TupleValidator

Tuple Fields of TupleValidator

0: TupleValidator
Validator

Tuple Fields of Validator

0: Validator
Variable

Tuple Fields of Variable

0: Variable
VideoObject

Tuple Fields of VideoObject

0: VideoObject
VolumeMount

Tuple Fields of VolumeMount

0: VolumeMount
Null
Boolean

Tuple Fields of Boolean

0: Boolean
Integer

Tuple Fields of Integer

0: Integer
Number

Tuple Fields of Number

0: Number
String

Tuple Fields of String

0: String
Object

Tuple Fields of Object

0: Object
Array

Tuple Fields of Array

0: Array

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.