-
Notifications
You must be signed in to change notification settings - Fork 175
Open
Description
#[derive(Clone, Debug, PartialEq, Validate, Serialize, Deserialize)]
pub struct InputData {
#[validate(range(min = 1, max = 1_000_000_000_000, message = "Upload bytes must be between 1 byte and 1 TB"))]
pub bytes_up: i64,
#[validate(range(min = 1, max = 1_000_000_000_000, message = "Download bytes must be between 1 byte and 1 TB"))]
pub bytes_down: i64,
}Metadata
Metadata
Assignees
Labels
No labels