is_duplicate_entry

Function is_duplicate_entry 

Source
pub fn is_duplicate_entry(res: &Result<AnyQueryResult, Error>) -> bool
Expand description

Checks if the query result resulted in an error that indicates a duplicate entry.