You can use Ord::cmp directly.
match a.cmp(&b) {
Ordering::Less => {},
Ordering::Greater => {},
Ordering::Equal => {},
}
The or operator is the same as in many languages ||. I'd advise you follow a bit along the book for some time to learn the basics.