var searchIndex = {}; searchIndex["validations"] = {"doc":"Crate `validations` provides an interface to check the validity of arbitrary types.","items":[[3,"Error","validations","An individual validation error.",null,null],[3,"Errors","","A collection of errors returned by a failed validation.",null,null],[6,"SimpleError","","An `Error` with no custom details, to avoid the generic parameter when not needed.",null,null],[6,"SimpleErrors","","`Errors` with no custom details, to avoid the generic parameter when not needed.",null,null],[8,"Validate","","A validatable type.",null,null],[10,"validate","","Validates the value.",0,null],[11,"fmt","","",1,null],[11,"fmt","","",2,null],[11,"new","","Constructs a validation error.",1,{"inputs":[{"name":"s"}],"output":{"name":"self"}}],[11,"with_details","","Constructs a validation error with additional details.",1,{"inputs":[{"name":"s"},{"name":"t"}],"output":{"name":"self"}}],[11,"details","","Additional contextual information about the error, if provided.",1,null],[11,"set_details","","Sets the details of this error.",1,null],[11,"message","","A human-readable message explaining the error.",1,null],[11,"fmt","","",1,null],[11,"description","","",1,null],[11,"new","","Constructs an empty `Errors` value.",2,{"inputs":[],"output":{"name":"self"}}],[11,"add_error","","Adds a validation error that is not specific to any field.",2,null],[11,"add_field_error","","Adds a validation error for the given field.",2,null],[11,"base","","A slice of non-field-specific errors, if any.",2,null],[11,"field","","The `Errors` for the given field, if any.",2,null],[11,"is_empty","","Returns `true` if there are no errors.",2,null],[11,"set_field_errors","","Sets the given field's errors to the given `Errors`.",2,null],[11,"fmt","","",2,null],[11,"description","","",2,null]],"paths":[[8,"Validate"],[3,"Error"],[3,"Errors"]]}; initSearch(searchIndex);