#[derive(PartialEq)]
std
Derive macro generating an impl of the trait PartialEq. The behavior of this macro is described in detail here.
PartialEq