pub fn is_entity_already_registered_exception(&self) -> bool {
        matches!(
            &self.kind,
            RegisterToWorkMailErrorKind::EntityAlreadyRegisteredException(_)
        )
    }
/// Returns `true` if the error kind is `RegisterToWorkMailErrorKind::EntityAlreadyRegisteredException`.
Returns `true` if the error kind is `RegisterToWorkMailErrorKind::EntityAlreadyRegisteredException`.
Returns ` true ` if the error kind is ` RegisterToWorkMailErrorKind :: EntityAlreadyRegisteredException ` .
pub fn is_entity_already_registered_exception(&self) -> bool {
        matches!(
            &self.kind,
            RegisterToWorkMailErrorKind::EntityAlreadyRegisteredException(_)
        )
    }
pub fn is_entity_already_registered_exception ( & self ) -> bool { matches ! ( self kind RegisterToWorkMailErrorKind EntityAlreadyRegisteredException ( ) ) }
Returns `true` if the error kind is `RegisterToWorkMailErrorKind::EntityAlreadyRegisteredException`.
Returns ` true ` if the error kind is ` RegisterToWorkMailErrorKind :: EntityAlreadyRegisteredException ` .
&self
&self