Skip to main content

validate_must_match

Function validate_must_match 

Source
pub fn validate_must_match<T>(a: T, b: T) -> bool
where T: Eq,
Expand description

Validates that the 2 given fields match. Both fields are optionals