pub struct EmailHandle(/* private fields */);
Expand description
[ft_sdk::send_mail()] returns an EmailHandle, which can be used to cancel the email during the web request. this is useful in case you want to do a cleanup in case a transaction fails, etc.
Trait Implementations§
Source§impl Clone for EmailHandle
impl Clone for EmailHandle
Source§fn clone(&self) -> EmailHandle
fn clone(&self) -> EmailHandle
Returns a duplicate 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 EmailHandle
impl Debug for EmailHandle
Source§impl<'de> Deserialize<'de> for EmailHandle
impl<'de> Deserialize<'de> for EmailHandle
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 EmailHandle
impl RefUnwindSafe for EmailHandle
impl Send for EmailHandle
impl Sync for EmailHandle
impl Unpin for EmailHandle
impl UnwindSafe for EmailHandle
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