Struct ory_client::models::message::Message
source · pub struct Message {
pub body: 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
§created_at: String
CreatedAt 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: TemplateTypeEnum
recovery_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 otp TypeOTP stub TypeTestStub
_type: CourierMessageType
§updated_at: String
UpdatedAt is a helper struct field for gobuffalo.pop.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Message
impl<'de> Deserialize<'de> for Message
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more