Struct mailbox::stream::entry::Begin
[−]
[src]
pub struct Begin { /* fields omitted */ }
The beginning of a new email.
Methods
impl Begin
[src]
fn new<T: Into<Vec<u8>>>(string: T) -> Result<Self>
Create a new Begin
from the given String
.
fn address(&self) -> &str
The origin address, by RFC this can be any address ever used in any system at any time.
fn timestamp(&self) -> &str
The timestamp.
Trait Implementations
impl Eq for Begin
[src]
impl PartialEq for Begin
[src]
fn eq(&self, __arg_0: &Begin) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Begin) -> bool
This method tests for !=
.
impl Clone for Begin
[src]
fn clone(&self) -> Begin
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more