Struct space_email_api::SpaceEmail
source · pub struct SpaceEmail { /* private fields */ }
Implementations§
source§impl SpaceEmail
impl SpaceEmail
pub fn id(&self) -> EmailId
pub fn timestamp(&self) -> NaiveDateTime
pub fn contents(&self) -> &SpaceEmailContents
Trait Implementations§
source§impl Debug for SpaceEmail
impl Debug for SpaceEmail
source§impl Hash for SpaceEmail
impl Hash for SpaceEmail
source§impl PartialEq<SpaceEmail> for SpaceEmail
impl PartialEq<SpaceEmail> for SpaceEmail
source§fn eq(&self, other: &SpaceEmail) -> bool
fn eq(&self, other: &SpaceEmail) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SpaceEmail
impl StructuralEq for SpaceEmail
impl StructuralPartialEq for SpaceEmail
Auto Trait Implementations§
impl RefUnwindSafe for SpaceEmail
impl Send for SpaceEmail
impl Sync for SpaceEmail
impl Unpin for SpaceEmail
impl UnwindSafe for SpaceEmail
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.