pub struct FullContext {
pub body: Body,
pub registry_state: RegistryState,
pub registry_receipt: Option<Value>,
pub extensions: Map<String, Value>,
}Expand description
The full context object returned by GET /contexts/{ctx_id}.
acdp-context.schema.json is additionalProperties: true: future
ACDP versions may add top-level keys without a schema bump, and
v0.1.0 consumers MUST tolerate unknown top-level keys. body,
registry_state, and the reserved registry_receipt are modelled
explicitly; any other top-level field is preserved verbatim in
Self::extensions. These top-level fields are NOT part of
ProducerContent, so unlike Body::extensions this carry-through
is a forward-compatibility contract, not a hash-stability one.
Fields§
§body: BodyProducer-signed body.
registry_state: RegistryStateMutable registry-derived state (status etc).
registry_receipt: Option<Value>Optional registry receipt — reserved for RFC-ACDP-0009 §2.7. Opaque to the library; preserved verbatim if present.
extensions: Map<String, Value>Unknown top-level context fields, preserved per
acdp-context.schema.json additionalProperties: true. Retained
for forward compatibility with future ACDP versions that add
top-level registry fields.
Trait Implementations§
Source§impl Clone for FullContext
impl Clone for FullContext
Source§fn clone(&self) -> FullContext
fn clone(&self) -> FullContext
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more