Skip to main content

exclude_fields

Function exclude_fields 

Source
pub fn exclude_fields<T: Serialize + ResponseModel>(
    value: T,
    fields: &[&str],
) -> ValidatedResponse<T>
Expand description

Macro helper for creating validated responses with field exclusion.

This is a convenience wrapper that excludes specified fields from the response.