pub struct EmailCopyParams {
pub from_account_id: Id,
pub on_success_destroy_original: Option<bool>,
pub destroy_from_if_in_state: Option<State>,
pub extra: Map<String, Value>,
}Expand description
Extra args for Email/copy (RFC 8621 §4.7).
Fields§
§from_account_id: IdThe account to copy from (RFC 8621 §4.7).
on_success_destroy_original: Option<bool>If true, destroy originals after successful copy (RFC 8620 §5.4).
destroy_from_if_in_state: Option<State>If-in-state guard for the source account destroy step (RFC 8620 §5.4).
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).
Constraint: keys in extra MUST NOT collide with the
typed-field wire names above (the camelCase spelling — e.g.
"accountId", "ids", "properties", "blobIds",
"fromAccountId", etc.). On collision the typed-field value
wins on the wire and the extra value is silently dropped at
serialization. Place vendor extensions under vendor-prefixed
keys (e.g. "acmeCorpFoo") to avoid the collision class.
Trait Implementations§
Source§impl Clone for EmailCopyParams
impl Clone for EmailCopyParams
Source§fn clone(&self) -> EmailCopyParams
fn clone(&self) -> EmailCopyParams
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more