Skip to main content

validate_event_fields

Function validate_event_fields 

Source
pub fn validate_event_fields<P>(
    event: &Event<P>,
    extra_fields: &[&str],
) -> Result<()>
Expand description

Enforces the closed event object (Section 5.1): the event may carry only the six Agent Identity fields plus extra_fields the protocol defines.