validate_description

Function validate_description 

Source
pub fn validate_description(desc: &str) -> ValidationResult<()>
Expand description

Validate a description string.

ยงRules

  • May be empty
  • Must not exceed 10000 characters
  • Control characters (except whitespace) are stripped