twilight_validate::request

Function communication_disabled_until

Source
pub fn communication_disabled_until(
    timestamp: Timestamp,
) -> Result<(), ValidationError>
Expand description

Validate that a timeout time is not too far in the future.

The time must not be farther than 28 days in the future.

ยงErrors