pub fn section(section: &Section) -> Result<(), ComponentValidationError>
Expand description
Validates a section component.
ยงErrors
This will error with SectionComponentCountOutOfRange
if the amount of
section components is less than [SECTION_COMPONENTS_MIN
] or greater than
[SECTION_COMPONENTS_MAX
].
For validation of specific components see: