Struct space_email_api::SpaceEmailContents
source · pub struct SpaceEmailContents {
pub subject: String,
pub sender: String,
pub body: String,
pub style: SpaceEmailStyle,
}
Fields§
§subject: String
§sender: String
§body: String
§style: SpaceEmailStyle
Trait Implementations§
source§impl Clone for SpaceEmailContents
impl Clone for SpaceEmailContents
source§fn clone(&self) -> SpaceEmailContents
fn clone(&self) -> SpaceEmailContents
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 SpaceEmailContents
impl Debug for SpaceEmailContents
source§impl Hash for SpaceEmailContents
impl Hash for SpaceEmailContents
source§impl PartialEq<SpaceEmailContents> for SpaceEmailContents
impl PartialEq<SpaceEmailContents> for SpaceEmailContents
source§fn eq(&self, other: &SpaceEmailContents) -> bool
fn eq(&self, other: &SpaceEmailContents) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SpaceEmailContents
impl StructuralEq for SpaceEmailContents
impl StructuralPartialEq for SpaceEmailContents
Auto Trait Implementations§
impl RefUnwindSafe for SpaceEmailContents
impl Send for SpaceEmailContents
impl Sync for SpaceEmailContents
impl Unpin for SpaceEmailContents
impl UnwindSafe for SpaceEmailContents
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.