DeepEq

Trait DeepEq 

Source
pub trait DeepEq<Rhs = Self> {
    // Required method
    fn deep_eq(&self, other: &Rhs) -> bool;

    // Provided method
    fn deep_ne(&self, other: &Rhs) -> bool { ... }
}
Expand description

Check if all fields are the same rather than just a subset (“deep equals”)

Required Methods§

Source

fn deep_eq(&self, other: &Rhs) -> bool

Provided Methods§

Source

fn deep_ne(&self, other: &Rhs) -> bool

Implementors§

Source§

impl DeepEq for AddressList

Source§

impl DeepEq for Contact

Source§

impl DeepEq for EmailContact

Check if all fields are the same (PartialEq only checks if email is the same)

Source§

impl DeepEq for Group