pub struct TaskListSetParams {
pub on_destroy_remove_tasks: Option<bool>,
pub extra: Map<String, Value>,
}Expand description
Extra method-level arguments for TaskList/set
(draft-ietf-jmap-tasks-06 §3.7).
All fields are optional. Pass None (or Default::default()) when not
needed. Mirrors the canonical
MailboxSetParams
shape in jmap-mail-client (workspace canonical extension-client
template).
Fields§
§on_destroy_remove_tasks: Option<bool>If true, destroying a TaskList also destroys all its Tasks
(draft-ietf-jmap-tasks-06 §3.7). Server default: false (the
server MUST reject a destroy on a TaskList with tasks,
returning the taskListHasTasks SetError).
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 TaskListSetParams
impl Clone for TaskListSetParams
Source§fn clone(&self) -> TaskListSetParams
fn clone(&self) -> TaskListSetParams
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more