Struct tempmail::RawMessage
source · pub struct RawMessage {
pub id: usize,
pub from: String,
pub subject: String,
pub timestamp: DateTime<Utc>,
}
Expand description
Represents a raw version of an email message with minimal information.
Fields§
§id: usize
The unique identifier of the message.
from: String
The sender’s email address
subject: String
The subject of the mail
timestamp: DateTime<Utc>
The timestamp when the email was received
Trait Implementations§
source§impl Clone for RawMessage
impl Clone for RawMessage
source§fn clone(&self) -> RawMessage
fn clone(&self) -> RawMessage
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 RawMessage
impl Debug for RawMessage
source§impl<'de> Deserialize<'de> for RawMessage
impl<'de> Deserialize<'de> for RawMessage
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
impl Send for RawMessage
impl Sync for RawMessage
Auto Trait Implementations§
impl Freeze for RawMessage
impl RefUnwindSafe for RawMessage
impl Unpin for RawMessage
impl UnwindSafe for RawMessage
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