Function limit
Source pub const fn limit(value: usize) -> Result<(), SearchGuildMessagesError>
Expand description
Ensure that the limit is correct.
The limit must be at least LIMIT_MIN and at most LIMIT_MAX.
ยงErrors
Returns an error of type Limit if the limit is invalid.