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