pub fn set_context_key<T: Serialize + ?Sized>(
rsp: &mut RunFunctionResponse,
key: impl Into<String>,
value: &T,
) -> Result<(), Error>Expand description
Sets a function context value by key.
Crossplane passes the response’s context to subsequent functions in the
pipeline. to copies the request’s context forward, so setting a key
adds to what earlier pipeline steps wrote. See crate::context for
well-known context keys.