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