Trait stencila_schema::NodeTrait[][src]

pub trait NodeTrait {
    fn type_name(&self) -> String;
fn id(&self) -> Option<String>; }
Expand description

A trait for methods that can be called on all types of nodes

Required methods

Retrieve the type of an entity Needs to be called type_name because type is a reserved word

Retrieve the id of an entity

Implementations on Foreign Types

Implementors

Retrieve the type of an entity Needs to be called type_name because type is a reserved word

Retrieve the id of an entity

Retrieve the type of an entity Needs to be called type_name because type is a reserved word

Retrieve the id of an entity

Retrieve the type of an entity Needs to be called type_name because type is a reserved word

Retrieve the id of an entity

Retrieve the type of an entity Needs to be called type_name because type is a reserved word

Retrieve the id of an entity

Retrieve the type of an entity Needs to be called type_name because type is a reserved word

Retrieve the id of an entity

Retrieve the type of an entity Needs to be called type_name because type is a reserved word

Retrieve the id of an entity

Retrieve the type of an entity Needs to be called type_name because type is a reserved word

Retrieve the id of an entity

Retrieve the type of an entity Needs to be called type_name because type is a reserved word

Retrieve the id of an entity

Retrieve the type of an entity Needs to be called type_name because type is a reserved word

Retrieve the id of an entity

Retrieve the type of an entity Needs to be called type_name because type is a reserved word

Retrieve the id of an entity

Retrieve the type of an entity Needs to be called type_name because type is a reserved word

Retrieve the id of an entity

Retrieve the type of an entity Needs to be called type_name because type is a reserved word

Retrieve the id of an entity

Retrieve the type of an entity Needs to be called type_name because type is a reserved word

Retrieve the id of an entity

Retrieve the type of an entity Needs to be called type_name because type is a reserved word

Retrieve the id of an entity

Retrieve the type of an entity Needs to be called type_name because type is a reserved word

Retrieve the id of an entity