pub struct MetadataChangesParams {
pub filter_related_type: Option<String>,
pub filter_metadata_type: Option<Vec<String>>,
pub extra: Map<String, Value>,
}Expand description
Extra method-level arguments for Metadata/changes
(draft-ietf-jmap-metadata-01 §3.3).
Both fields are optional. Pass None (or Default::default()) to fetch
all Metadata changes regardless of relatedType or @type.
Per §3.3, when both filters are specified the server MUST return only
changes to Metadata objects that satisfy both criteria (logical AND).
The state token returned in the response represents the complete
account state and is independent of the filters; clients that use these
filters MUST re-use the same filter values across subsequent
Metadata/changes calls to ensure consistent synchronisation.
Fields§
Restrict the created/updated/destroyed arrays in the response
to Metadata objects whose relatedType equals this value
(draft-ietf-jmap-metadata-01 §3.3).
filter_metadata_type: Option<Vec<String>>Restrict the created/updated/destroyed arrays in the response
to Metadata objects whose @type is in this list
(draft-ietf-jmap-metadata-01 §3.3).
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).