Skip to main content

Crate che_rest

Crate che_rest 

Source

Re-exports§

pub use app_channels::AppChannels;
pub use auth::CurrentPrincipal;
pub use auth::CurrentUser;
pub use auth::IsAdminUser;
pub use auth::IsAuthenticated;
pub use channels::Channels;
pub use config::AppConfig;
pub use config::DatabaseConfig;
pub use config::ServerConfig;
pub use error::AppError;
pub use error::AppResult;
pub use management::Management;
pub use module::AppModule;
pub use module::InstalledApps;
pub use module::ModuleContext;
pub use module::Server;
pub use project::ProjectLayout;
pub use project::StartAppOptions;
pub use project::StartProjectOptions;
pub use project::startapp;
pub use project::startproject;
pub use project::startproject_with_layout;
pub use rest::AllowAny;
pub use rest::ApiExtension;
pub use rest::ApiOperation;
pub use rest::ApiSchema;
pub use rest::ApiSchemaDefinition;
pub use rest::ClientMethod;
pub use rest::CrudViewSet;
pub use rest::ExtensionContext;
pub use rest::Filter;
pub use rest::FilterError;
pub use rest::FilterSet;
pub use rest::FilterSetSpec;
pub use rest::FilterValue;
pub use rest::HttpMethod;
pub use rest::Lookup;
pub use rest::MutationBackend;
pub use rest::MutationFuture;
pub use rest::MutationHook;
pub use rest::OperationSpec;
pub use rest::Permission;
pub use rest::PermissionContext;
pub use rest::RestQuerySet;
pub use rest::ViewAction;
pub use rest::ViewSet;
pub use rest::ViewSetConfig;
pub use rest::ViewSetExtension;
pub use rest::openapi_column_schema;
pub use rest::openapi_json_for;
pub use rest::router;
pub use rest::router;
pub use signals::SignalAccess;
pub use signals::SignalBus;
pub use signals::SignalEvent;
pub use state::AppState;
pub use state::CurrentUserResolverFuture;
pub use sync::ModelSyncEndpoints;
pub use sync::ObjectSyncEndpoints;
pub use sync::RestModelWrite;
pub use sync::RestSyncRequest;
pub use sync::SyncEndpoints;
pub use sync::SyncViewSet;

Modules§

app_channels
auth
channels
config
error
generate_admin
generate_ts
management
media
File-backed image fields. Model columns store only relative keys; application code retains control over who may upload or clear a particular model field.
module
project
rest
Native ORM2 HTTP surface owned by che-rest.
signals
state
sync
Authenticated synchronization endpoints and journal-aware ViewSet CRUD.

Structs§

Database
Async database using the backend selected by the crate feature.
ImageField
A relative storage key for an image. The bytes live in a media backend, not in the database; che-rest manages uploads and URLs.
ValidationErrors

Enums§

PatchField
A JSON patch value. Missing means that the property was not sent; Value(None) represents an explicit JSON null.
ValidatedWrite
WriteMode

Traits§

Model
Trait implemented by #[derive(Model)] for ORM models.
ModelSerializer
Converts a materialized ORM model into an API representation.
ModelWriteSerializer

Derive Macros§

Model
ModelSerializer