Crate crdb_macros

Source

Re-exports§

pub use crdb_helpers;
pub use serde;
pub use serde_json;
pub use waaaa;

Macros§

db

Structs§

BinPtr
ClientMessage
ClientStorageInfo
DbPtr
Decimal
Decimal represents a 128 bit representation of a fixed-precision decimal number. The finite set of values of type Decimal are of the form m / 10e, where m is an integer such that -296 < m < 296, and e is an integer between 0 and 28 inclusive.
EventId
Importance
LoginInfo
NewSession
ObjectData
ObjectId
QueryId
ReadPermsChanges
RequestId
SavedObjectMeta
SavedQuery
SearchableString
Session
SessionRef
SessionToken
TypeId
Update
Updatedness
Updates
UpdatesWithSnap
UploadId
User
UsersWhoCanRead

Enums§

Error
JsonPathItem
MaybeObject
Query
Request
ResponsePart
SerializableError
ServerMessage
One ServerMessage is supposed to hold as much data as possible without delaying updates, but still avoiding going too far above than 1M / message, to allow for better resumability.
UpdateData
Upload

Traits§

CanDoCallbacks
ClientSideDb
Config
CrdbFn
CrdbSyncFn
Db
DynSized
Event
Object
Note that for this trait to be implemented correctly, the Eq trait should be equivalent to equality of the JSON-serialized representation. In particular, this means that things like [HashMap]s should be banned, and [BTreeMap]s should be preferred.
ResultExt
ServerSideDb
SystemTimeExt

Functions§

check_string
check_strings
hash_binary
matches
Assumes that both value and pat have already been normalized. Checks whether value contains pattern pat.
normalize
normalizer_version

Type Aliases§

Result