#[non_exhaustive]pub struct TestEmailResponse {
pub recipient: String,
pub sent: bool,
pub error_code: Option<String>,
pub error_message: Option<String>,
pub extra: Map<String, Value>,
}Expand description
The outcome of a test reminder sent to the signed-in user’s own address.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.recipient: StringThe address it went to. Redacted from Debug.
sent: boolWhether it was sent.
error_code: Option<String>Why it was not sent.
error_message: Option<String>Why it was not sent, in words.
extra: Map<String, Value>Any additional response fields not modeled above.
Trait Implementations§
Source§impl Clone for TestEmailResponse
impl Clone for TestEmailResponse
Source§impl Debug for TestEmailResponse
impl Debug for TestEmailResponse
Source§impl<'de> Deserialize<'de> for TestEmailResponse
impl<'de> Deserialize<'de> for TestEmailResponse
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 Forget for TestEmailResponse
impl Freeze for TestEmailResponse
impl Move for TestEmailResponse
impl RefUnwindSafe for TestEmailResponse
impl Send for TestEmailResponse
impl Sync for TestEmailResponse
impl Unpin for TestEmailResponse
impl UnsafeUnpin for TestEmailResponse
impl UnwindSafe for TestEmailResponse
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