[−][src]Module parse_mediawiki_sql::types
Defines the types used in the schemas
module
and implements the FromSql
trait for these and other types,
so that they can 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 [ |
PageCount | Represents
|
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
|
Error | |
Expiry | Represents the
|
MajorMime | Represents the
|
MediaType | Represents the
|
PageAction | Represents the
|
PageType | Represents the
|
ParseTypeContext | |
ProtectionLevel | Represents the
|
Traits
Datelike | Trait for [ |
FromSql | Trait for converting from the SQL syntax for a simple type
(anything other than a tuple) to a Rust type,
which can borrow from the string or not.
Used by |
Timelike | Trait for [ |
Type Definitions
IResult |