d1_gleamflare/types
Types
pub type Client {
Client(account_id: String, api_token: String)
}
Constructors
-
Client(account_id: String, api_token: String)
pub type CloudflareApiError {
CloudflareApiError(code: Int, message: String)
}
Constructors
-
CloudflareApiError(code: Int, message: String)
pub type DatabaseInfo {
DatabaseInfo(
uuid: String,
name: String,
created_at: String,
version: String,
)
}
Constructors
-
DatabaseInfo( uuid: String, name: String, created_at: String, version: String, )
pub type Error {
HttpError(status: Int, body: String)
NetworkError(reason: String)
JsonError(reason: String)
ApiError(errors: List(CloudflareApiError))
}
Constructors
-
HttpError(status: Int, body: String) -
NetworkError(reason: String) -
JsonError(reason: String) -
ApiError(errors: List(CloudflareApiError))
pub type QueryMeta {
QueryMeta(
duration: Float,
changes: Int,
last_row_id: Int,
rows_read: Int,
rows_written: Int,
)
}
Constructors
-
QueryMeta( duration: Float, changes: Int, last_row_id: Int, rows_read: Int, rows_written: Int, )