pub struct JmapIdentity {
pub id: String,
pub name: String,
pub email: String,
pub reply_to: Option<Vec<JmapEmailAddress>>,
pub bcc: Option<Vec<JmapEmailAddress>>,
pub text_signature: Option<String>,
pub html_signature: Option<String>,
pub may_delete: bool,
}Expand description
A JMAP Identity object (RFC 8621 §6.1).
An Identity describes a sender identity the user can send email from (name, email address, signature, etc.).
Fields§
§id: StringThe server-assigned ID.
name: StringThe display name for the sender.
email: StringThe email address for the sender.
reply_to: Option<Vec<JmapEmailAddress>>Reply-To addresses to set on outgoing email.
bcc: Option<Vec<JmapEmailAddress>>Bcc addresses to add to all outgoing email.
text_signature: Option<String>Plaintext signature to append to outgoing email.
html_signature: Option<String>HTML signature to append to outgoing email.
may_delete: boolWhether the user may delete this identity.
Trait Implementations§
Source§impl Clone for JmapIdentity
impl Clone for JmapIdentity
Source§fn clone(&self) -> JmapIdentity
fn clone(&self) -> JmapIdentity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 JmapIdentity
impl Debug for JmapIdentity
Source§impl<'de> Deserialize<'de> for JmapIdentity
impl<'de> Deserialize<'de> for JmapIdentity
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 JmapIdentity
impl RefUnwindSafe for JmapIdentity
impl Send for JmapIdentity
impl Sync for JmapIdentity
impl Unpin for JmapIdentity
impl UnsafeUnpin for JmapIdentity
impl UnwindSafe for JmapIdentity
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