#[non_exhaustive]pub struct EmailImportCreated {
pub id: Id,
pub blob_id: Id,
pub thread_id: Id,
pub size: u64,
pub extra: Map<String, Value>,
}Expand description
Per-creation success entry in an EmailImportResponse (RFC 8621 §4.8).
The server reports the new Email’s id, blobId (may differ from the
caller-supplied blob id if the server normalised the message), threadId,
and size for each successfully imported message.
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.id: IdServer-assigned Email id.
blob_id: IdBlob id of the canonical raw message (may differ from the input blob id).
thread_id: IdServer-assigned Thread id this Email belongs to.
size: u64Size of the canonical raw message in bytes.
extra: Map<String, Value>Catch-all for vendor / site / private extension fields not covered by the typed fields above. Preserves unknown fields across deserialize/serialize round-trip per workspace extras-preservation policy (see workspace AGENTS.md).
Trait Implementations§
Source§impl Clone for EmailImportCreated
impl Clone for EmailImportCreated
Source§fn clone(&self) -> EmailImportCreated
fn clone(&self) -> EmailImportCreated
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 EmailImportCreated
impl Debug for EmailImportCreated
Source§impl<'de> Deserialize<'de> for EmailImportCreated
impl<'de> Deserialize<'de> for EmailImportCreated
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 EmailImportCreated
impl RefUnwindSafe for EmailImportCreated
impl Send for EmailImportCreated
impl Sync for EmailImportCreated
impl Unpin for EmailImportCreated
impl UnsafeUnpin for EmailImportCreated
impl UnwindSafe for EmailImportCreated
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