Expand description
This crate is part of ft-sdk and provides the
system-level functionality. This crate should not be used directly, and
ft-sdk
should be used.
Structs§
- add an email to the offline email queue, so that the email can be sent later. these emails get picked up by the email worker.
- Email
Address - Email
Handle - [ft_sdk::send_mail()] returns an EmailHandle, which can be used to cancel the email during the web request. this is useful in case you want to do a cleanup in case a transaction fails, etc.
- Rendered
Email - Request
- Request acts as both a request and a response, and is only used for the communication between guest and host. It is not exposed via ft-sdk.
- User
Data
Enums§
- Cancel
Email Error - Database
Error Kind - DbError
- Decryption
Error DecryptionError
is returned as error whenft_sdk::decrypt
fails.- Email
Content - The content of the email to send. Most fastn apps should prefer EmailContent::FromMKind as that allows end users of the fastn app to configure the email easily. The EmailContent::Rendered variant is allowed if you want to generate emails though some other mechanism.
- Send
Email Error - Sqlite
RawValue - Sqlite
Type - Determines how a bind parameter is given to SQLite