Struct ory_client::models::message_dispatch::MessageDispatch
source · pub struct MessageDispatch {
pub created_at: String,
pub error: Option<Value>,
pub id: String,
pub message_id: String,
pub status: StatusEnum,
pub updated_at: String,
}Expand description
MessageDispatch : MessageDispatch represents an attempt of sending a courier message It contains the status of the attempt (failed or successful) and the error if any occured
Fields§
§created_at: StringCreatedAt is a helper struct field for gobuffalo.pop.
error: Option<Value>§id: StringThe ID of this message dispatch
message_id: StringThe ID of the message being dispatched
status: StatusEnumThe status of this dispatch Either "failed" or "success" failed CourierMessageDispatchStatusFailed success CourierMessageDispatchStatusSuccess
updated_at: StringUpdatedAt is a helper struct field for gobuffalo.pop.
Implementations§
source§impl MessageDispatch
impl MessageDispatch
sourcepub fn new(
created_at: String,
id: String,
message_id: String,
status: StatusEnum,
updated_at: String
) -> MessageDispatch
pub fn new( created_at: String, id: String, message_id: String, status: StatusEnum, updated_at: String ) -> MessageDispatch
MessageDispatch represents an attempt of sending a courier message It contains the status of the attempt (failed or successful) and the error if any occured
Trait Implementations§
source§impl Clone for MessageDispatch
impl Clone for MessageDispatch
source§fn clone(&self) -> MessageDispatch
fn clone(&self) -> MessageDispatch
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for MessageDispatch
impl Debug for MessageDispatch
source§impl<'de> Deserialize<'de> for MessageDispatch
impl<'de> Deserialize<'de> for MessageDispatch
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
source§impl PartialEq<MessageDispatch> for MessageDispatch
impl PartialEq<MessageDispatch> for MessageDispatch
source§fn eq(&self, other: &MessageDispatch) -> bool
fn eq(&self, other: &MessageDispatch) -> bool
This method tests for
self and other values to be equal, and is used
by ==.