pub struct Message {
pub body: String,
pub channel: Option<String>,
pub created_at: String,
pub dispatches: Option<Vec<MessageDispatch>>,
pub id: String,
pub recipient: String,
pub send_count: i64,
pub status: CourierMessageStatus,
pub subject: String,
pub template_type: TemplateTypeEnum,
pub type: CourierMessageType,
pub updated_at: String,
}Fields§
§body: String§channel: Option<String>§created_at: StringCreatedAt is a helper struct field for gobuffalo.pop.
dispatches: Option<Vec<MessageDispatch>>Dispatches store information about the attempts of delivering a message May contain an error if any happened, or just the success state.
id: String§recipient: String§send_count: i64§status: CourierMessageStatus§subject: String§template_type: TemplateTypeEnumrecovery_invalid TypeRecoveryInvalid recovery_valid TypeRecoveryValid recovery_code_invalid TypeRecoveryCodeInvalid recovery_code_valid TypeRecoveryCodeValid verification_invalid TypeVerificationInvalid verification_valid TypeVerificationValid verification_code_invalid TypeVerificationCodeInvalid verification_code_valid TypeVerificationCodeValid stub TypeTestStub login_code_valid TypeLoginCodeValid registration_code_valid TypeRegistrationCodeValid verifiable_address_changed TypeVerifiableAddressChanged authenticator_key_added TypeAuthenticatorKeyAdded
type: CourierMessageType§updated_at: StringUpdatedAt is a helper struct field for gobuffalo.pop.