pub struct DispatchedEmailMessage {Show 17 fields
pub acceptance: Option<Value>,
pub addressed_to: Option<UserSnapshot>,
pub content: EmailMessageContent,
pub created_at: DateTime,
pub failure: Option<Value>,
pub id: MessageId,
pub metadata: ResourceMetadata,
pub parent_message_id: Option<MessageId>,
pub platform: String,
pub project_id: ProjectId,
pub received_by: Option<UserSnapshot>,
pub sent_by: UserSnapshot,
pub space: SpaceSnapshot,
pub status: String,
pub timestamp: Option<Value>,
pub timestamps: DispatchedMessageTimestamps,
pub updated_at: DateTime,
}Fields§
§acceptance: Option<Value>§addressed_to: Option<UserSnapshot>§content: EmailMessageContent§created_at: DateTimeWhen Photon first persisted this resource.
failure: Option<Value>§id: MessageId§metadata: ResourceMetadata§parent_message_id: Option<MessageId>§platform: String§project_id: ProjectId§received_by: Option<UserSnapshot>§sent_by: UserSnapshot§space: SpaceSnapshot§status: String§timestamp: Option<Value>§timestamps: DispatchedMessageTimestamps§updated_at: DateTimeWhen Photon last persisted a change to this resource’s public state.
Implementations§
Source§impl DispatchedEmailMessage
impl DispatchedEmailMessage
pub fn serialize<__S>(
__self: &DispatchedEmailMessage,
__serializer: __S,
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
Source§impl<'de> DispatchedEmailMessage
impl<'de> DispatchedEmailMessage
pub fn deserialize<__D>(
__deserializer: __D,
) -> Result<DispatchedEmailMessage, __D::Error>where
__D: Deserializer<'de>,
Trait Implementations§
Source§impl Clone for DispatchedEmailMessage
impl Clone for DispatchedEmailMessage
Source§impl Debug for DispatchedEmailMessage
impl Debug for DispatchedEmailMessage
Source§impl<'de> Deserialize<'de> for DispatchedEmailMessage
impl<'de> Deserialize<'de> for DispatchedEmailMessage
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
Auto Trait Implementations§
impl Freeze for DispatchedEmailMessage
impl RefUnwindSafe for DispatchedEmailMessage
impl Send for DispatchedEmailMessage
impl Sync for DispatchedEmailMessage
impl Unpin for DispatchedEmailMessage
impl UnsafeUnpin for DispatchedEmailMessage
impl UnwindSafe for DispatchedEmailMessage
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more