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).
Trait Implementations§
Source§impl Debug for EmailCopyParams
impl Debug for EmailCopyParams
Auto Trait Implementations§
impl Freeze for EmailCopyParams
impl RefUnwindSafe for EmailCopyParams
impl Send for EmailCopyParams
impl Sync for EmailCopyParams
impl Unpin for EmailCopyParams
impl UnsafeUnpin for EmailCopyParams
impl UnwindSafe for EmailCopyParams
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