Crate skootrs_model

Crate skootrs_model 

Source
Expand description

This is where all the models for the Skootrs project are defined. The models are just the data representing the abstractions around a project like its repository, source code, and facets.

The models here need to be (de)serializable, i.e. implementing serde::Serialize and serde::Deserialize so that they can be easily used in RPC calls and other places where data needs to be sent over the wire. For example the REST API that is in the skootrs-rest crate. Currently for the sake of simplicity we don’T use much in the way of generics and trait objects because of issues with (de)serialization.

All the models besides those that fall under /skootrs are considered external. In most cases they are code generated. The models in /skootrs are the core models for the Skootrs project and defined for the purpose of the project.

Modules§

cd_events
CD Events models.
security_insights
Security Insights models.
skootrs
Skootrs specific models.