tables
ModuleFixed-window counters as rows of an Appwrite table, through the TablesDB API.
Contents
use utopia_abuse::time_limit::tables::Column;Rust
pub struct ColumnA column of the Abuse table.
use utopia_abuse::time_limit::tables::Index;Rust
pub struct IndexAn index of the Abuse table.
use utopia_abuse::time_limit::tables::Row;Rust
pub struct RowOne row of the Abuse table.
use utopia_abuse::time_limit::tables::TablesDb;Rust
pub struct TablesDb<T>Counters as rows of the Abuse table of an Appwrite database.
use utopia_abuse::time_limit::tables::Tables;Rust
pub trait Tables: Send + SyncThe TablesDB calls TablesDb makes, in database database. Errors are
Error::Appwrite with the API's error type.
Rust
pub const COLUMNS: [Column; 3] = [ ColumnThe columns of the Abuse table, sent inline when it is created.
Rust
pub const DATABASE_NAME: &str = "Utopia"Undocumented.
Rust
pub const INDEXES: [Index; 2] = [ IndexThe indexes of the Abuse table, sent inline when it is created.
Rust
pub const TABLE_ID: &str = "Abuse"Undocumented.
Rust
pub const TABLE_LOCK: &str = "lock"Undocumented.
Rust
pub const TABLE_NAME: &str = "abuse"Undocumented.