Skip to main content

Module client

Module client 

Source
Expand description

Generates the client.rs module containing the FerriormClient struct.

FerriormClient is the user-facing entry point. It wraps a ferriorm_runtime::client::DatabaseClient and exposes a method per model (e.g., .user(), .post()) that returns the model’s Actions struct for performing CRUD operations.

Functions§

generate_client_module
Generate the client.rs module with the FerriormClient struct.