[−][src]Module parse_mediawiki_sql::types
Defines the types used in the schemas
module
and the FromSql
trait, which allows them to be parsed from SQL syntax.
Re-exports the Datelike
and Timelike
traits from the chrono
crate,
which are used by Timestamp
.
Structs
ActorId | Represents
|
CategoryId | Represents
|
ChangeTagDefId | Represents
|
ChangeTagId | Represents
|
CommentId | Represents
|
ExternalLinksId | Represents
|
FullPageTitle | Represents a page title with namespace and with spaces rather than underscores,
as in the
|
LogId | Represents
|
MinorMime | Represents the
|
NaiveDateTime | The type that [ |
PageId | Represents
|
PageNamespace | Represents the
|
PageRestrictionsId | Represents
|
PageRestrictionsOld | Represents |
PageTitle | Represents the
|
RecentChangesId | Represents
|
RevisionId | Represents
|
Sha1 | Represents a SHA-1 hash in base 36, for instance in the
|
Timestamp | Represents a timestamp
given as a string in |
UserGroup | Represents the name of a user group, such as the
|
UserId | Represents
|
Enums
ContentModel | Represents the
|
Expiry | Represents the
|
MajorMime | Represents the
|
MediaType | Represents the
|
PageAction | Represents the
|
PageType | Represents the
|
ProtectionLevel | Represents the
|
Traits
Datelike | Trait for [ |
FromSql | Trait containing a function that infallibly converts from an SQL string to a Rust type, which can borrow from the string or not. |
Timelike | Trait for [ |