pub fn same_across_all_reqs<T>(
req_name: &str,
var: &mut Option<T>,
new: T,
) -> Result<(), Error>where
T: PartialEq,
Expand description
Helper method to streamline request validation in cases where a value is expected to be identical across all incoming requests.