pub fn validate_call_origin(origin: &CallOrigin) -> Result<(), OpaqueFieldError>Expand description
Check a CallOrigin: its call_key, its message position’s
message_id when present, and its schema_pin when present, must pass the
shared opaque-field rule. Errors name ORIGIN_CALL_KEY_FIELD,
ORIGIN_MESSAGE_ID_FIELD or ORIGIN_SCHEMA_PIN_FIELD. Every
Principal is accepted as the carrier, and every u32 as the index.