Skip to main content

Crate tibba_model

Crate tibba_model 

Source

Structs§

AlarmConfig
Configuration
ConfigurationInsertParams
ConfigurationModel
ConfigurationUpdateParams
InvalidDatetimeSnafu
SNAFU context selector for the Error::InvalidDatetime variant
JsonSnafu
SNAFU context selector for the Error::Json variant
ModelListParams
NotFoundSnafu
SNAFU context selector for the Error::NotFound variant
NotSupportedSnafu
SNAFU context selector for the Error::NotSupported variant
Schema
SchemaAllowCreate
SchemaAllowEdit
SchemaOption
SchemaView
SqlxSnafu
SNAFU context selector for the Error::Sqlx variant
User
UserModel
UserUpdateParams

Enums§

Error
ResultValue
SchemaOptionValue
SchemaType
Status

Constants§

ROLE_ADMIN
ROLE_SUPER_ADMIN

Traits§

Model

Functions§

format_datetime
new_schema_options
parse_primitive_datetime
push_order_by
Append a validated ORDER BY clause. Column name must be alphanumeric/underscore only.